From 2298ecf7493516b893c080a37a52d935da75c389 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 13 Feb 2013 11:03:48 +0100 Subject: [PATCH] ... --- vbuild-init-lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vbuild-init-lxc.sh b/vbuild-init-lxc.sh index ff0b6a05..9e1dd8b8 100755 --- a/vbuild-init-lxc.sh +++ b/vbuild-init-lxc.sh @@ -273,7 +273,7 @@ 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" - rm ${rootfs_path}/etc/systemd/system/getty.target.wants/*service + rm -f ${rootfs_path}/etc/systemd/system/getty.target.wants/*service || : # can't seem to handle this one with systemctl chroot ${rootfs_path} chkconfig network on } -- 2.43.0