From: Marco Yuen Date: Thu, 23 Feb 2012 17:19:33 +0000 (-0500) Subject: Change default target in bootstrapfs. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=7bc13a32e0a74c6188fc3a0b70631b688be0da43;p=build.git Change default target in bootstrapfs. --- diff --git a/config.planetlab/bootstrapfs.post b/config.planetlab/bootstrapfs.post index a11afce9..41c86bc9 100644 --- a/config.planetlab/bootstrapfs.post +++ b/config.planetlab/bootstrapfs.post @@ -35,6 +35,9 @@ chroot ${vdir} /sbin/chkconfig cgconfig off || : # turn ON lxc-reference. chroot ${vdir} /sbin/chkconfig lxc-reference on || : +# Change default target. +chroot ${vdir} ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target || : + # turn OFF selinux if set # this may happen accidentally if you mention too much stuff in bootstrapfs.pkgs for file in /etc/sysconfig/selinux /sbin/load_policy; do