From: Thierry Parmentelat Date: Wed, 13 Feb 2013 08:42:27 +0000 (+0100) Subject: turning off getty is uncredibly hard X-Git-Tag: 5.2.1~56 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=74545be5f7037f0a5b1e4ade74d5a1b28014d86b;p=build.git turning off getty is uncredibly hard --- diff --git a/vbuild-init-lxc.sh b/vbuild-init-lxc.sh index 78585fba..02ee3f5a 100755 --- a/vbuild-init-lxc.sh +++ b/vbuild-init-lxc.sh @@ -273,7 +273,8 @@ function configure_fedora_systemd() { # #dependency on a device unit fails it specially that we disabled udev # sed -i 's/After=dev-%i.device/After=/' ${rootfs_path}/lib/systemd/system/getty\@.service ln -s /dev/null ${rootfs_path}/etc/systemd/system/"getty@.service" - ln -s /dev/null ${rootfs_path}/usr/lib/systemd/system/"getty@.service" + rm /etc/systemd/system/getty.target.wants/*service +# can't seem to handle this one with systemctl chroot ${rootfs_path} chkconfig network on }