Re: [libvirt] Are there interfaces to change IP address of given domain before it runn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 25, 2008 at 4:11 AM, Ian jonhson <jonhson.ian@xxxxxxxxx> wrote:
> So, I wonder there are any solution to guarantee that
> both VM instances would be given different IP address
> after they are started.

Use DHCP, and ensure that when you create the domain configuration xml
file for the second instance that you remove the MAC address lines
before you define it in virsh so libvirt generates new MAC addresses
for the copies.

You want libvirt to be abstract from the guest, so it's not going to
be meddling around in your guest's filesystem to configure anything.

Bryan

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]