[one-users] DNS search domains and rc.local not being read in VMs
steele, jerry
Jerry.Steele at CGG.com
Thu Sep 26 03:42:23 PDT 2013
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<http://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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130926/d60cb926/attachment.htm>
More information about the Users
mailing list