nslookup during %pre

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Has anyone figured out a way to query DNS during the %pre part of a
kickstart install?

I want to make sure there is a DNS entry for the machine being installed
before going thru the entire install. The name of the machine is read
from /proc/cdmline.

nslookup requires a bunch of dynamic libraries as seen by doing

$ ldd nslookup
        libdns.so.4 => /usr/lib/libdns.so.4 (0x40029000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40170000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40187000)
        libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x4019c000)
        libisc.so.3 => /usr/lib/libisc.so.3 (0x40258000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4028a000)
        libdl.so.2 => /lib/libdl.so.2 (0x403ba000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

so putting the binary in the NFS mounted /mnt/source area won't
work.

Suggestions??

--patty





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux