[xen-tools] Re: domU save-state issue with xen-tools & long hostnames
Steve Kemp
steve at steve.org.uk
Mon Oct 1 07:58:21 CEST 2007
On Sat Sep 29, 2007 at 15:54:20 -0700, Graham Freeman wrote:
> The solution was to change the hostname from Xen's perspective by changing the
> file '/etc/xen/amphibia.longcompanyname.com.cfg' so that this line:
>
>
> name = 'amphibia.longcompanyname.com'
>
>
> was shortened thus:
>
>
> name = 'amphibia'
>
You might be able to automate this by editing /etc/xen-tools/xm.tmpl
change this:
# Hostname
#
name = '{$hostname}'
To something like this:
name = '{ my @tmp = split(/\./,$hostname); $tmp[0]; }'
Steve
--
http://www.steve.org.uk/
More information about the xen-tools-discuss
mailing list