[clug-talk] Is there a userspace hosts solution?
Royce Souther
osgnuru at gmail.com
Tue Apr 7 13:35:02 PDT 2009
This is not a userspace solution. I don't have root control over the host
systems only the guest OS and the user account that is running the Vmware
image.
On Tue, Apr 7, 2009 at 2:04 PM, <simon at mungewell.org> wrote:
> Hi Roy and all,
> Are you trying to get the client machine to resolve all names for the
> other clients machines?
>
> There appears to be some 'magic' regarding DNS which can be performed in
> the dns.conf file (vmware claims to support standard dhcp.conf options)
>
> see:
>
> http://www.virtuatopia.com/index.php/VMware_Server_2.0_DHCP_Configuration#Configuring_the_VMware_Server_DHCP_Server_on_Linux_Hosts
> http://linux.die.net/man/5/dhcpd.conf
>
> In this way there should be no need to tinker with the guest OS(es) as
> dhclient should handle it all automatically.
>
> Cheers,
> Simon.
>
> > I want to automate a name resolution for VMware systems users run with
> > host-only networking. VMware has it's own DHCP server internally for
> this.
> > The best solution would be to have the guest OS boot and request an IP
> > then
> > write that to a plain text file in the users home directory using the VM
> > share directory feature. I tried to store the IP in a file called .hosts
> > file in the users home directory but I have never see this done before
> and
> > I
> > tried it and could not get any programs to honor the file.
> >
> > Is there a userspace name resolution solution that does not involve using
> > a
> > sudo script to modify the /etc/hosts file?
> >
> > --
> > http://www.Radados.org
> > _______________________________________________
> > clug-talk mailing list
> > clug-talk at clug.ca
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying
>
>
>
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>
--
http://www.Radados.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20090407/69c9c513/attachment.html>
More information about the clug-talk
mailing list