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:
e7eacea
)
nodeimage to enable NetworkManager and disable network, that is now deemed dead
author
parmentelat
<thierry.parmentelat@inria.fr>
Thu, 20 Dec 2018 14:48:05 +0000
(15:48 +0100)
committer
parmentelat
<thierry.parmentelat@inria.fr>
Thu, 20 Dec 2018 14:48:05 +0000
(15:48 +0100)
config.lxc/nodeimage.post
patch
|
blob
|
history
diff --git
a/config.lxc/nodeimage.post
b/config.lxc/nodeimage.post
index
b4a0383
..
4bc4a34
100644
(file)
--- a/
config.lxc/nodeimage.post
+++ b/
config.lxc/nodeimage.post
@@
-14,9
+14,9
@@
rm -rf ${vdir}/etc/yum.conf ${vdir}/etc/yum.repos.d
# turn ON openvswitch as it is required for the privatebridge nm plugin
chroot ${vdir} systemctl enable openvswitch.service || :
# enabling network as it ends up turned off on systems that come with NetworkManager, starting with fedora9
# turn ON openvswitch as it is required for the privatebridge nm plugin
chroot ${vdir} systemctl enable openvswitch.service || :
# enabling network as it ends up turned off on systems that come with NetworkManager, starting with fedora9
-chroot ${vdir} systemctl
en
able network.service || :
+chroot ${vdir} systemctl
dis
able network.service || :
# and turn off NetworkManager if present, as it quite obviously messes with network
# and turn off NetworkManager if present, as it quite obviously messes with network
-chroot ${vdir} systemctl
dis
able NetworkManager.service || :
+chroot ${vdir} systemctl
en
able NetworkManager.service || :
# turn on ntpd
chroot ${vdir} systemctl enable ntpd.service || :
# tentatively turn on getty on tty1
# turn on ntpd
chroot ${vdir} systemctl enable ntpd.service || :
# tentatively turn on getty on tty1