[CentOS-virt] get xen name from guest

Ryan Pugatch rpug at linux.com
Wed Mar 17 15:55:57 UTC 2010


On 03/17/2010 08:47 AM, Hildebrand, Nils, 232 wrote:
> Hi,
>
> how do you create the XEN-Config-File for your DomUs?
> As with DHCP you could use the MAC-Address to identify your DomU, too.
>
> Apart from that you may set the hostname during setup of the DomU.
> I am using templates to generate new DomUs:
> After copying the template with rsync into the LV for the new DomU (an LV in Dom0 corresponds to a disk for the DomU) I modify the files where the hostname resides (and statically setup the first network interface by filling in the corresponding files of the DomU) before unmounting the LV again.
>
> Are you really kickstarting each new DomU?
>
> Kind regards
>
> Nils
>
>

The xen config file is created via virt-install and yes we do tend to do 
a kickstart for each DomU.


Ryan



More information about the CentOS-virt mailing list