• R/O
  • HTTP
  • SSH
  • HTTPS

lxcf: Commit

lxcfのリポジトリ


Commit MetaInfo

Revision4d13e0a1eae54a0cd76b7b4fef3ecf96c5d8c1f4 (tree)
Time2015-01-21 13:50:43
Authorniwa-hideyuki <niwa.hideyuki@jp.f...>
Commiterniwa-hideyuki

Log Message

Network-manager in the container of ubuntu is disabled.

Change Summary

Incremental Difference

--- a/lxcf/lib/lxcf-net-add
+++ b/lxcf/lib/lxcf-net-add
@@ -147,10 +147,6 @@ set_ipaddr()
147147
148148 set_ipaddr
149149
150-if [ x$DISTRO == x"u" ]; then
151- sleep 3;set_ipaddr
152-fi
153-
154150 echo "generated new bridge:" $LXCBR "("${LXCBRIP}")"
155151 echo "generated new veth of host :" vh${LXCNAME}${NUM}
156152 echo "generated new veth of guest : vg${LXCNAME}${NUM} (${LXCIP}/${IPMASK})"
--- a/lxcf/lib/lxcf-setup-u
+++ b/lxcf/lib/lxcf-setup-u
@@ -461,6 +461,11 @@ dir = ROOTDIR + "/etc/init/"
461461 if os.path.exists(dir + "kmod.conf"):
462462 os.remove(dir + "kmod.conf")
463463
464+if os.path.exists(dir + "network-manager.conf"):
465+ os.remove(dir + "network-manager.conf")
466+
467+
468+
464469 eth0_service() # bringup eth0 without udev
465470 empty_fstab() # make /etc/fstab empty
466471 securetty_tune() # add pts/0 to securetty
Show on old repository browser