turning off getty is uncredibly hard
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 13 Feb 2013 08:42:27 +0000 (09:42 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 13 Feb 2013 08:42:27 +0000 (09:42 +0100)
vbuild-init-lxc.sh

index 78585fb..02ee3f5 100755 (executable)
@@ -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
 }