Re: Forcing kickstart to ask for network configuration

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

 



On Thu, 2003-09-11 at 18:10, Ed Brown wrote:

> line="network --bootproto static --device $device --ip $ip --netmask
> $netmask --hostname $host --gateway $gateway --$nameserver"
> ks="/tmp/ks.cfg"
> sed -e "/^network/s/^network.*/$line/" $ks >${ks}.tmp && mv ${ks}.tmp
> $ks
> -------------------------
> (Note that the last two lines begin with "line=" and "sed -e"
> respectively. There should be no line breaks. 

Sorry, these are THREE lines, beginning:

line="...
ks="...
sed -e "...





[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