> On Mon, 07 Nov 2011 15:22:29 -0500, n43w79 said:
>>
> But the echo command is part of the file "create_resolv_conf" which came
> with FAI v3.4.7? I thought that is the file generates /etc/resolv.conf?
No?
There are two resolv.conf files during an isntallation.
The one in /etc
Instead of echo ...>> use ainsl(1).
You must also use $target/etc/resolv.conf instead of /etc/resolv.conf
Hi, Thomas, thanks!
But the echo command is part of the file "create_resolv_conf" which came
with FAI v3.4.7? I thought that is the file generates /etc/resolv.conf? No?
Cheers!
> On Sun, 06 Nov 2011 11:57:52 -0500, n43w79 said:
> And expect
>
/srv/fai/nfsroot/live/filesystem.dir/usr/lib/fai/create_resolv_conf(Quote):
>for dnshost in $DNSSRVS ; do
> echo "nameserver $dnshost" >>/etc/resolv.conf
>done
> to create /etc/resolv.co
Hi, FAT version 3.4.7,
For testing, I have a file in /srv/fai/config/class/DEMO.var:
DNSSRVS='192.168.1.254 206.248.154.22 206.248.154.170'
And expect
/srv/fai/nfsroot/live/filesystem.dir/usr/lib/fai/create_resolv_conf(Quote):
for dnshost in $DNSSRVS ; do
echo "nameserver $dnshost" >>/et