how to create new ubuntu vm
Tuesday, January 19, 2010
10:56 AM
1. Solve problem of eth1
When image of VM is created as new VM the problem of eth1 will occure and we can see
cat /etc/udev/rules.d/70-persistent-net.rules
looked like this:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:xx:xx", ATTR{type}=="1", NAME="eth0" (this first group has to be deleted)
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:36:xx:xx", ATTR{type}=="1", NAME="eth1"
We have to change /etc/udev/rules.d/70-persistent-net.rules to
delete the first group and change the second group to "eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:36:xx:xx", ATTR{type}=="1", NAME="eth0"
2. Change the ip of the vm to new ip as in
vi /etc/network/interfaces
3. reboot
4. check ifconfig
ไม่มีความคิดเห็น:
แสดงความคิดเห็น