Re: post-inst questions...

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

 



On Mon, 25 Oct 2004, [ISO-8859-15] Raphaël 'SurcouF' Bordet wrote:

>%post
>...
>wget http://www.<domain>.<tld>/fichier.tar.bz2 -O /tmp/fichier.tar.bz2
>tar jxf /tmp/fichier.tar.bz2 -C /
>wget http://www.<domain>.<tld>/sshd_config -O /etc/ssh/sshd_config
>wget http://www.<domain>.<tld>/banner.txt -O /etc/ssh/banner.txt

Why not put all the files (including those from /etc/ssh) in the same
tarfile?

>wget http://www.<domain>.<tld>/sshd_config -O /tmp/sshd_config
>wget http://www.<domain>.<tld>/banner.txt -O /etc/ssh/banner.txt
>mv -f /tmp/sshd_config /tmp/banner.txt /etc/ssh/

That looks like it should work. You could capture more debugging output
from wget, e.g.

wget -O outfile -o /tmp/wget.log -d <URL>
sleep 600

During the 10 minute sleep, you could switch to the VT2, which runs a
shell during kickstart (Alt+F2), and check the log in /mnt/sysimage/tmp,
or try running wget by hand. Don't forget about the (/mnt/sysimage)
chroot...


Cheers,
Phil


[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