[xen-tools-discuss] Xen-tools Blank gateway

Andrew Clarke andrew at glydetechnology.com
Thu May 29 14:33:13 CEST 2014


Hi,

I've been testing with the following command:

xen-create-image --fs=ext4 --memory=1G --nohosts --pygrub --swap=1G 
--size=4G --vcpus=2 --arch=amd64 --dist=trusty 
--install-method=debootstrap --mirror=http://apt.dkit.ie/ubuntu 
--gateway=10.100.32.1 --netmask=255.255.255.0 --lvm=xenlvm01 
--hostname=test2 --ip=10.100.32.113

The resulting VM had a blank line in it's /etc/network/interfaces where 
the gateway would go which means that network is broken in my case.

After commenting out line 91, the resulting VM contains the correct line 
in /etc/network/interfaces:
gateway 10.100.32.1

Andrew

On 29/05/14 12:57, Axel Beckert wrote:
> On Thu, May 29, 2014 at 12:10:16PM +0100, Andrew Clarke wrote:
>> You can see some changes made here to how the 'gateway' variable is handled:
>> https://gitorious.org/xen-tools/xen-tools/commit/205bf96f0aa6d7a16c6c14890a5d899b13a269e3
>>
>> The result of this is that the variable 'gateway' is always blank
>> due to line 91.
> Looks so, yes.
>
>> I've confirmed this on my current setup:
>> Ubuntu 14.04
>> xen-tools 4.4-1
> What steps did you do to test it?
>
>> Please let me know if this is a bug.
> Likely.
>
> 		Kind regards, Axel



More information about the xen-tools-discuss mailing list