fedora 8 static ip not accepted

Edwind Richzendy Contreras Soto richzendy at gmail.com
Fri Dec 14 18:37:04 UTC 2007


My kickstart file is:


install
network --device eth0 --bootproto static --noipv6 --ip 192.168.X.XXX--netmask
255.255.255.0 --gateway 192.168.X.XXX --nameserver 192.168.X.XXX --hostname
pc1.XXXX.XXX.XX
url --url http://192.168.X.XX/linux/f8/releases/Everything/i386/os
keyboard la-latin1
lang es_ES.UTF-8
xconfig --startxonboot
auth --useshadow  --enablemd5  --enableldap --enableldapauth --ldapserver=
192.168.X.XXX -ldapbasedn=ou=People,dc=XXXX,dc=XXX,dc=XX
rootpw  --iscrypted $1$NxRxxxxvxNxvxSd$fboxXxwZxxcLSGxAx68xuxyxsxyxEx6xBu5/
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/Caracas
bootloader --location=mbr --driveorder=sda --append="vga=791 rhgb quiet"
--md5pass=$1$/v6xxNxxgx05A$BxFxxYxbxsxOxaxbx7xkxEBxUixuxBxlxdxxx1h0
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --drives=sda
part /boot --fstype ext3 --size=200 --ondisk=sda
part pv.6 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.6
logvol /tmp --fstype ext3 --name=LogVol03 --vgname=VolGroup00 --size=576
logvol /home --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=60000
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=496
--grow --maxsize=992
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=14496
repo --name=XXXXX-Livna  --baseurl=http://192.168.X.XX/linux/f8/livna/i386/
repo --name=XXXX-Update  --baseurl=http://192.168.X.XX/linux/f8/updates
#reboot after install
reboot --eject

%post
echo "session required        pam_mkhomedir.so skel=/etc/skel/ umask=0022"
>> /etc/pam.d/gdm

%packages
packages
...
...
...


i put a kickstart from http server and it's is my boot line:

boot: linux ks=http://192.168.X.XX ip=192.168.x.xx netmask=255.255.255.0gateway=
192.168.x.xx

ip and gateway ips in boot line same equal to a ip and gateway ips to
network line in kickstart file.

but my instalation is frozen in a infinite loop searching a DHCP server
after read and put kickstart file.

What is wrong?


2007/12/15, Edwind Richzendy Contreras Soto <richzendy at gmail.com>:
>
>
>
> 2007/12/15, Matteo Faleschini <matteo.faleschini at fisica.unimi.it>:
> >
> >
> > I'm having problems to use this option inside the kickstart file
> >
> > network --bootproto=static --device=eth0 --gateway=192.168.1.254
> > --ip=192.168.1.1 --netmask=255.255.255.0 --onboot=on
> >
> > with a nfs or http installation.
> >
> > nfs --server ksbox.local.domain --dir /fedora/8.0/os
> >
> > In our departement we use a templating system that we wrote  since
> > redhat 9 to fedora 6 (and scientific linux 4, a redhat derived) without
> > problems.
> >
> > When I prepared the kickstart for the new fedora 8, I noticed that
> > anaconda (11.3.0.50) does not use the static ip information provided by
> > the kickstart and chooses a dhcp configuration.
> >
> > To verify that it is not an error of our kickstart creator, I prepared a
> > kickstart file on a fedora 8 machine with the system-config-kickstart
> > script. But I found the same problem.
> > I also switched the network and nfs lines but i found no difference.
> >
> > At first I thought about a new anaconda behaviour (nfs install uses only
> > dynamic configuration) but having a look at the source code of the
> > anaconda loader I have the impression that the network bootstrap follows
> > the same principles.
> >
> > I searched through the mailing list for keywords bootproto and 11.3.0.50
> > with no success. I also googled about but i did not find any hint. I
> > don't know if it's a known anaconda issue or a syntax error of my
> > kickstart.
> >
> > Matteo Faleschini
>
>
>
> i have a same problem, it's a bug in anaconda for fedora 8?
>
> _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20071215/74790df5/attachment.htm>


More information about the Kickstart-list mailing list