git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46939c3
)
Change default target in bootstrapfs.
author
Marco Yuen
<marcoy@cs.princeton.edu>
Thu, 23 Feb 2012 17:19:33 +0000
(12:19 -0500)
committer
Marco Yuen
<marcoy@cs.princeton.edu>
Thu, 23 Feb 2012 17:19:33 +0000
(12:19 -0500)
config.planetlab/bootstrapfs.post
patch
|
blob
|
history
diff --git
a/config.planetlab/bootstrapfs.post
b/config.planetlab/bootstrapfs.post
index
a11afce
..
41c86bc
100644
(file)
--- 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