Re: get xen name from guest

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


Ryan,

--- On Tue, 3/9/10, Ryan Pugatch <rpug@xxxxxxxxx> wrote:

> From: Ryan Pugatch <rpug@xxxxxxxxx>
> Subject:  get xen name from guest
> To: "Discussion about the virtualization on CentOS" <centos-virt@xxxxxxxxxx>
> Date: Tuesday, March 9, 2010, 8:18 PM
> Hello,
> 
> Is it possible to get the name that was set in a VM's xen
> config file 
> from the guest machine?  I'm interested in having my
> kickstart launch a 
> script that can configure hostname, but to do that it would
> need to get 
> the name set in the config.
> 
> 
the Xen xm .PY config has an 
extra = 'console=ttyS0  xxyyzz=HOSTNAME'

it seems that this is intended for the kernel cmdline, but the parser is very tolerant and picks and chooses what it wants.

It might work to add some exotic param which you grab from dmesg in script.

-- 
Mark


      
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS Users]     [Linux Media]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Xfree86]     [Devices]     [Linux USB]

Powered by Linux Add to Google