As far as I understand, GATEWAY, DNS and DHCP should be variables configured on the VNET template, and appart you have to set NETWORK="YES" on the vm template. Then, each time a VM is instantiated from that VM template, it will automatically populate some variables that are ETH[n]_GATEWAY, ETH[n]_DHCP and ETH[n]_DNS with the variables you configured on the VNET templated. With the only one I'm not sure is the DNS, but the other ones you can find some informaton on the user guide, and some more on the admin guide. Best regards,Diego M. Date: Wed, 23 Jul 2014 12:45:15 -0700 From: [email protected] To: [email protected] Subject: Re: [one-users] DHCP
I have managed to figure out how to edit my template (onetemplate update TEMPLATE_ID) so I can now set the hostname. However, DNS and DHCP are tied into one system on my network, so I can't perform a dig on my new server and get the IP back. I just need to know what lines to add to my template file to get my vms to use DHCP only. I'm sure it's something really simple, I just can't find any info here: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html If you know how to get DHCP working, please let me know. Thank you!! On Tue, Jul 22, 2014 at 3:48 PM, kerryhall . <[email protected]> wrote: Hi folks, I want to configure Open Nebula to contextualize two items for ifcfg-eth0. BOOTPROTO=dhcp and DHCP_HOSTNAME=<parameter passed in via ONE web interface, even just vm-name would work> I need no other networking settings. DHCP on my network handles the rest. I have tried manually setting these two parameters in ifcfg-eth0 and it looks like it works. (Although the new IP given via DHCP doesn't match the original IP) Is this possible to do in ONE? If so, where do I start? Thanks! Kerry _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
