[one-users] ubuntu template from marketplace has wrong gateway
Javier Fontan
jfontan at opennebula.org
Fri Mar 21 09:00:25 PDT 2014
If you add GATEWAY value to the network and in the VM context section
this value the options should be configured [1]:
NETWORK="YES"
[1] http://docs.opennebula.org/4.4/user/virtual_machine_setup/bcont.html#preparing-the-template
On Fri, Mar 21, 2014 at 3:03 PM, Steven Furgus <stevenfurgus at gmail.com> wrote:
>
> To answer my own question, I added this directive to my network template
> NETWORK_GATEWAY="x.x.x.x"
>
>
> Found it in the documentation: "Please note that any arbitrary value can be
> set in the Virtual Network template, and then used in the contextualization
> 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."
>
>
>
> On Fri, Mar 21, 2014 at 8:35 AM, Steven Furgus <stevenfurgus at gmail.com>
> wrote:
>>
>> Hey there,
>>
>>
>> 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.
>>
>> How can I correct the image or the template to have the correct route when
>> i launch the vm?
>>
>>
>> Many Thanks
>>
>> Steven Furgus
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
More information about the Users
mailing list