Re: get xen name from guest

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

 



Brett Worth wrote:
> On 03/10/2010 05:53 PM, Mr. X wrote:
> 
>> the Xen xm .PY config has an 
>> extra = 'console=ttyS0  xxyyzz=HOSTNAME'
> 
> That's brilliant!
> 
> So if the parameter was "myname" then you could do:
> 
> hostname `cat /proc/cmdline  | tr ' ' '\n' | awk -F= ' $1 == "myname" { print $2 } '  `
> 
> Brett

Agreed, that sounds great, but I am not sure what you mean by "Xen xm 
.PY config".   Can you elaborate?
Thanks
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux