Change default target in bootstrapfs.
[build.git] / config.planetlab / bootstrapfs.post
index 8e7c287..41c86bc 100644 (file)
@@ -27,8 +27,7 @@ chroot ${vdir} /sbin/chkconfig vservers-default off || :
 # which is the case for our k32 kernel
 # chroot ${vdir} /sbin/chkconfig vprocunhide on || :
 
-# fprobe doesn't work yet
-chroot ${vdir} /sbin/chkconfig fprobe-ulog off || :
+chroot ${vdir} /sbin/chkconfig fprobe-ulog on || :
 
 # turn off cgconfig
 chroot ${vdir} /sbin/chkconfig cgconfig off || :
@@ -36,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