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

Joan aseques at gmail.com
Fri May 30 17:36:00 CEST 2014


Same here, it looks like a leftover from a test from the developer, after
removing the line it works without issues. To simplify process I've created
a pull request:
https://gitorious.org/xen-tools/xen-tools/merge_requests/8

Regards


2014-05-29 14:33 GMT+02:00 Andrew Clarke <andrew at glydetechnology.com>:

> 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
>>
>
> _______________________________________________
> xen-tools-discuss mailing list
> xen-tools-discuss at xen-tools.org
> https://xen-tools.org/mailman/listinfo/xen-tools-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20140530/950c4947/attachment.html>


More information about the xen-tools-discuss mailing list