<div dir="ltr"><div><div>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. <br>
<br>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:<br><a href="http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html">http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html</a><br>
<br></div><div>If you know how to get DHCP working, please let me know.<br><br>Thank you!!<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 3:48 PM, kerryhall . <span dir="ltr"><<a href="mailto:kerryhall@gmail.com" target="_blank">kerryhall@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi folks,<br><br>I want to configure Open Nebula to contextualize two items for ifcfg-eth0.<br>
<br></div>BOOTPROTO=dhcp<br></div>and <br></div>DHCP_HOSTNAME=<parameter passed in via ONE web interface, even just vm-name would work><br>
<br></div>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)<br>
<br>Is this possible to do in ONE? If so, where do I start?<br><br>Thanks!<br></div>Kerry<br></div>
</blockquote></div><br></div>