<div dir="ltr"><br>To answer my own question, I added this directive to my network template NETWORK_GATEWAY=“x.x.x.x"<br><div class="gmail_extra"><br><br></div><div class="gmail_extra">Found it in the documentation: "Please note that any arbitrary value can be set in the Virtual Network template, and then used in the <a href="http://archives.opennebula.org/documentation:rel4.4:cong" class="" title="documentation:rel4.4:cong">contextualization</a>
section of the VM. For instance, NETWORK_GATEWAY=“x.x.x.x” might be
used to define the Virtual Network, and then used in the context section
of the VM to configure its network to connect through the GATEWAY."<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 21, 2014 at 8:35 AM, Steven Furgus <span dir="ltr"><<a href="mailto:stevenfurgus@gmail.com" target="_blank">stevenfurgus@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hey there,<br><br><br></div><div>I am able to ssh into the vm from the box that is running the ubuntu vm, and from there run the command "route add default gw x.x.x.x eth0". After I set the correct route, the vm is able to access the internet and I can reach the vm from other places.<br>
<br></div><div>How can I correct the image or the template to have the correct route when i launch the vm?<br><br><br></div><div>Many Thanks<span class=""><font color="#888888"><br><br></font></span></div><span class=""><font color="#888888"><div>
Steven Furgus<br></div></font></span></div>
</blockquote></div><br></div></div>