D
doknet
Guest
I would first like to thank the developers and contributors for this great product.
I have read several ways to duplicate a virtual machine and I have no clear how to pass parameters. So what I did and report the problem I have.
If anyone could help I would appreciate much
1) I got a full virtualization virtual machine, create the vm101 machine with ubuntu server.
create -> Fully Virtualized
Installation media -> Ubuntu_server.10.4.64bit.iso
Brige -> bmbr0
Install front cd
Then set in /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.0.255
gateway 192.168.1.1
2) snashop
vzdump - suspend - compress - DUMPDIR /var/ bk_vm/ 101
this resulted
ls-l /var/bk_vm/
vzdump-qemu-101-2010_06_01-19_58_57.tgz
2) new clone machine, and create mv102
qmrestore vzdump-qemu-101-2010_06_01-19_58_57.tgz 102
create vm102
2) configure eth0 at 102 vm
The problem appears that this doubling in both Mac Adrress equals
and a simple ping before the connection is dropped.
/etc/qemu-server/101.conf and / etc/qemu-server/102.conf
have the same Mac Adrres
with a single ping, device falls
vm101: ~ # ifconfig
eth0 Link encap: Ethernet HWaddr 62:62: c8: 0e: 1b: 75
vm102: ~ # ifconfig
eth0 Link encap: Ethernet HWaddr 62:62: c8: 0e: 1b: 75
Question
1) How is the best method to clone a virtual machine
2) you can switch to a Mac Adrres cloned, how?
3) if I delete devices (brmrb0 at 102) as I can recreate a new device wich new mac adrres
From already thank you very much to esfuerzo of all developers and participants of the forum is Proxmox is a great product, I hope to soon be able to help .-
Sorry my inglis
I have read several ways to duplicate a virtual machine and I have no clear how to pass parameters. So what I did and report the problem I have.
If anyone could help I would appreciate much
1) I got a full virtualization virtual machine, create the vm101 machine with ubuntu server.
create -> Fully Virtualized
Installation media -> Ubuntu_server.10.4.64bit.iso
Brige -> bmbr0
Install front cd
Then set in /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.0.255
gateway 192.168.1.1
2) snashop
vzdump - suspend - compress - DUMPDIR /var/ bk_vm/ 101
this resulted
ls-l /var/bk_vm/
vzdump-qemu-101-2010_06_01-19_58_57.tgz
2) new clone machine, and create mv102
qmrestore vzdump-qemu-101-2010_06_01-19_58_57.tgz 102
create vm102
2) configure eth0 at 102 vm
Code:
auto eth0
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.0.255
gateway 192.168.1.1
The problem appears that this doubling in both Mac Adrress equals
and a simple ping before the connection is dropped.
/etc/qemu-server/101.conf and / etc/qemu-server/102.conf
have the same Mac Adrres
with a single ping, device falls
vm101: ~ # ifconfig
eth0 Link encap: Ethernet HWaddr 62:62: c8: 0e: 1b: 75
vm102: ~ # ifconfig
eth0 Link encap: Ethernet HWaddr 62:62: c8: 0e: 1b: 75
Question
1) How is the best method to clone a virtual machine
2) you can switch to a Mac Adrres cloned, how?
3) if I delete devices (brmrb0 at 102) as I can recreate a new device wich new mac adrres
From already thank you very much to esfuerzo of all developers and participants of the forum is Proxmox is a great product, I hope to soon be able to help .-
Sorry my inglis
Last edited by a moderator: