RE: e-mailing from post

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

 



On 22 Mar 2003, Anthony Joseph Seward wrote:

> When I've tried mounting nfs partitions in %post using names rather than
> ip addresses it didn't work.  I've been using numeric addresses since
> 7.0, I think, and haven't been serious about named addresses since. 
> Maybe thing have changed.

I find the server by parsing /proc/mounts. Whatever's in there is what I
use, _iff_ I'm using nfs to install.

Here are some fragments from a working ks file for http:
url --url http://cc.computerdatasafe.com.au/RedHat/7.3u/dist

And the script:
%post --nochroot
set >>/mnt/sysimage/root/sets
cp -a /tmp/ks.cfg  /mnt/sysimage/root/
(
cat <<.
To: root@[127.0.0.1]
From: RedHat-Linux-Installer@xxxxxxxxxxxxxxxxxxxxxxx
Subject: Installation of Red Hat Linux




[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