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

Re: Forcing kickstart to ask for network configuration



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 "...





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