Re: virt-clone "PORT Number"

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

 



On 10/09/2012 03:04 PM, Service Computing wrote:
> Dear Users,
> 
> I am using virt-clone utility to clone xen guests using the following:
> virt-clone --connect xen:/// --original demo --name newdemo  --file
> /var/lib/libvirt/images/newdemo.img
> 
> Domain demo has the port 5902. I need an assistance that how to assign port to
> the cloned guest. One way is to use "virsh edit" but i need to give port
> during cloning. Such as we define port in "virt-install --vnc --vncport 5903"
> etc etc.
> 

There isn't any way unfortunately. You could create a wrapper script as a one
off that does: virt-clone, virsh dumpxml, edit the port number, virsh define.

Feel free to also file a feature request:

http://virt-manager.org/page/BugReporting

- Cole


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux