Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

465 bytes removed, 12:30, 28 August 2007
fixed disabling old network interface section
* Gentoo: <code>/sbin/rc-update del SERVICENAME</code>
=== Other ===There might be other adjustments needed. Please add those here if you have more info.==== Disable Old Physical Interface =old network interface ===You should disable your old physical network interface from starting at boot time. This is distribution-dependant.
In ==== Fedora, edit /CentOS/Red Hat ====Edit /vz/private/{VEID}/etc/sysconfig/network-scripts/ifcfg-eth''x''
Make the following look like this:
onbootONBOOT=no
Other Distros: *FIXME* --> Centos 5: o ' system-config-network-gui ' from X is the best interface as of May 2007; the commandline variant is not as useful. --> ==== Debian and related (/Ubuntu, etc):====o Edit /etc/network/interfaces
<pre>
# The loopback interface
# automatically added when upgrading
auto lo eth0 eth0:1 eth0:2# eth0:2 eth0:3
iface lo inet loopback
iface eth0 inet dhcp
# address 10.0.0.4# netmask 255.0.0.0# network 10.0.0.0# broadcast 10.0.0.255 iface eth0:1 inet static address 10.0.0.4 netmask 255.0.0.0 broadcast 255.255.255.255 iface eth0:2 inet static address 192.168.2.250 netmask 255.255.255.0 broadcast 255.255.255.255</pre>
#iface eth0:3 inet static# address 10You can either comment out the eth* interface stanza(s), or take it out of the "auto" line(s).0.81.4# netmask 255.255.255.0# broadcast 255.255.255.255</pre>
o You can either comment out the interface stanza(s), or take it out of the "auto" line(s).==== openSUSE/SLES ====
--> Suse *Fixme if inaccurate*Use Yast.
o Use Yast=== Other adjustments ===There might be other adjustments needed. Please add those here (just above this section) if you have more info.
== Starting a new VE ==