[Fedora-xen] Easier Way to configure domainU
Olivier Renault
orenault at redhat.com
Wed Jul 25 07:22:42 UTC 2007
taoj2 at cs.rpi.edu wrote:
> Hi,
>
> I want to configure a new domainU from existing domain. Can I just copy
> the image file (/var/lib/xen/images/box) and also copy the configuration
> file of existing domain?
Correct.
>
> The format of configuration file is like this:
>
> # Automatically generated xen config file
> name = "xen2"
> memory = "1000"
> disk = [ 'tap:aio:/var/lib/xen/images/box2,xvda,w', ]
> vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=xenbr1', ]
> vnc=1
> vncunused=1
> uuid = "9297c728-efe7-025f-3b35-02f92474aa6e"
> bootloader="/usr/bin/pygrub"
> vcpus=1
> on_reboot = 'restart'
> on_crash = 'restart'
>
> I will change the name to a new name, set vcpu to 4. But I don't know how
> to get a unique mac address and uuid. Anybody know?
For the mac I tend to randomly change one of the last 6 characters. It
is easier for the uuid as you can use the uuidgen command to generate a
new one.
>
> And except for create the image file and configuration file, what else do
> i need to do?
That should be it.
>
> PS: I use the Fedora XEN.
>
> Thanks for your time.
>
> Best Wishes
> Angel
>
> --
> Fedora-xen mailing list
> Fedora-xen at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen
More information about the Fedora-xen
mailing list