Re: converting a hostname to an IP address
On Mon, Aug 8, 2011 at 08:50, Wouter Verhelst <wouter@debian.org> wrote:
> As such, I'd need to a name lookup of the servername the user provided
> me with, preferably in a shell command, so that when root-on-NBD is
> used, I can provide the user with a working command line (i.e., an
> nbdroot= parameter that specifies the server by IP address, not
> hostname).
I am not aware of any easy way for doing that but I'd suggest you to
take a look in BusyBox to see what it can offer you to solve this.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Reply to: