<div dir="ltr">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:<div><a href="https://gitorious.org/xen-tools/xen-tools/merge_requests/8">https://gitorious.org/xen-tools/xen-tools/merge_requests/8</a></div>
<div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-29 14:33 GMT+02:00 Andrew Clarke <span dir="ltr"><<a href="mailto:andrew@glydetechnology.com" target="_blank">andrew@glydetechnology.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've been testing with the following command:<br>
<br>
xen-create-image --fs=ext4 --memory=1G --nohosts --pygrub --swap=1G --size=4G --vcpus=2 --arch=amd64 --dist=trusty --install-method=debootstrap --mirror=<a href="http://apt.dkit.ie/ubuntu" target="_blank">http://apt.dkit.ie/<u></u>ubuntu</a> --gateway=10.100.32.1 --netmask=255.255.255.0 --lvm=xenlvm01 --hostname=test2 --ip=10.100.32.113<br>

<br>
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.<br>
<br>
After commenting out line 91, the resulting VM contains the correct line in /etc/network/interfaces:<br>
gateway 10.100.32.1<span class="HOEnZb"><font color="#888888"><br>
<br>
Andrew</font></span><div class="im HOEnZb"><br>
<br>
On 29/05/14 12:57, Axel Beckert wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, May 29, 2014 at 12:10:16PM +0100, Andrew Clarke wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You can see some changes made here to how the 'gateway' variable is handled:<br>
<a href="https://gitorious.org/xen-tools/xen-tools/commit/205bf96f0aa6d7a16c6c14890a5d899b13a269e3" target="_blank">https://gitorious.org/xen-<u></u>tools/xen-tools/commit/<u></u>205bf96f0aa6d7a16c6c14890a5d89<u></u>9b13a269e3</a><br>

<br>
The result of this is that the variable 'gateway' is always blank<br>
due to line 91.<br>
</blockquote>
Looks so, yes.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've confirmed this on my current setup:<br>
Ubuntu 14.04<br>
xen-tools 4.4-1<br>
</blockquote>
What steps did you do to test it?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please let me know if this is a bug.<br>
</blockquote>
Likely.<br>
<br>
                Kind regards, Axel<br>
</blockquote>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
xen-tools-discuss mailing list<br>
<a href="mailto:xen-tools-discuss@xen-tools.org" target="_blank">xen-tools-discuss@xen-tools.<u></u>org</a><br>
<a href="https://xen-tools.org/mailman/listinfo/xen-tools-discuss" target="_blank">https://xen-tools.org/mailman/<u></u>listinfo/xen-tools-discuss</a><br>
</div></div></blockquote></div><br></div>