[one-users] DNS search domains and rc.local not being read in VMs
Evgeniy Suvorov
eesuvorov at gmail.com
Wed Oct 2 23:15:23 PDT 2013
Hello,
`And define the $searchdomain variable in your network template`
Where i can find network template?
2013/9/26 Campbell, Bill <bcampbell at axcess-financial.com>
> There should be DNS scripts in the contextualization packages that provide
> some assignment of DNS. You should be able to slightly modify a script to
> pick up that variable you define, i.e.
>
> echo search $searchdomain >> /etc/resolv.conf
>
> And define the $searchdomain variable in your network template.
>
>
> Be advised, I only see this script on the Ubuntu context packages (not
> RHEL/Cent, but could be added either way)
> ------------------------------
> *From: *"jerry steele" <Jerry.Steele at CGG.com>
> *To: *users at lists.opennebula.org
> *Sent: *Thursday, September 26, 2013 6:42:23 AM
> *Subject: *[one-users] DNS search domains and rc.local not being read in
> VMs
>
>
> Hello,
>
>
>
> I posted a few days ago about network configuration seemingly not being
> picked up properly – I think that was mainly due to my contextualisation
> packages being for the wrong version, and so the context CDROM device
> wasn’t being mounted.
>
>
>
> So now I have a separate,, but related issue.
>
>
>
> I need to be able to have DNS search domains in my /etc/resolv.conf. I
> tried to achieve this by adding a SEARCH attribute to the virtual network
> template, but it doesn’t seem to be picked up (looking in the context
> scripts, there’s nothing there to pick it up, so that’s kind of expected).
> I then tried to add it in /etc/rc.local, along with some lines to correctly
> set the hostname based on IP, but this doesn’t appear to be being picked
> up either.
>
>
>
> Could anyone tell me what might be going wrong here? Could it be the case
> that rc.local is not being run for some reason at boot? When I test the VM
> outside ONE, rc.local runs fine…
>
>
>
> Any help greatly appreciated.
>
>
>
> Thanks
>
> *______** **______** **______***
>
> * *
>
> * *
>
> *Jerry Steele*
>
> IT Support Specialist
>
> Subsurface Imaging
>
>
>
> CGGVeritas Services (UK) Ltd
>
> Crompton Way
>
> Crawley
>
> W Sussex
>
> RH10 9QN
>
>
>
> T +44 (0)1293 683264 (Internal: 233264)
>
> M +44 (0)7920 237105
>
>
>
> www.cgg.com
>
>
>
> *This email and any accompanying attachments are confidential. The
> information
> is intended solely for the use of the individual to whom it is addressed.
> Any review,
> disclosure, copying, distribution, or use of the email by others is
> strictly prohibited.*
>
>
>
> *This email and any accompanying attachments are confidential. If you
> received this email by mistake, please delete
> it from your system. Any review, disclosure, copying, distribution, or use
> of the email by others is strictly prohibited.*
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> *NOTICE: Protect the information in this message in accordance with the
> company's security policies. If you received this message in error,
> immediately notify the sender and destroy all copies.*
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Regards, Evgeniy.
Tel.: +79060665574
ICQ: 380264507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131003/89897ebd/attachment.htm>
More information about the Users
mailing list