[one-users] DHCP

kerryhall . kerryhall at gmail.com
Wed Jul 23 12:45:15 PDT 2014


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 . <kerryhall at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140723/2e64be4f/attachment.htm>


More information about the Users mailing list