Ryan,

--- On Tue, 3/9/10, Ryan Pugatch <[email protected]> wrote:

> From: Ryan Pugatch <[email protected]>
> Subject: [CentOS-virt] get xen name from guest
> To: "Discussion about the virtualization on CentOS" <[email protected]>
> 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
[email protected]
http://lists.centos.org/mailman/listinfo/centos-virt

Reply via email to