I use XEN virtualization platform. I have configured its networking in xenbr0 mode. I have set up one base VM and I am cloning it to create new VMs by using virt-clone command.
My question is there any way I can provide the IP address for the new VM at the time of creating itself. Like can I pass IP address for this VM as a parameter to some command so it will set its IP address.
I searched help of virt-clone command but didn't find anything useful. You can pass mac address as parameter but not IP address. So is there any other way.
Also I want this IP address to be permanent one so that if I reboot the VM, it will not lose its IP.
We want static IPs in our network so DHCP is not an option.