Fedora 10 Kickstart install fails at network configuration
I'm attempting to automate a Fedora 10 installation, but anaconda will either outright fail (in graphical mode) or stop and wait for me to configure network (text mode). When it fails in graphical mode, it throws an unhandled exception:
AttributeError: Network instance has no attribute 'gateway'. Of course, in the copy of ifcfg (shown in the exception details), everything appears as it should: DEVICE=eth0 DHCPCLASS= DNS1=172.16.0.1 HWADDR=08:00:27:96:dc:96 IPADDR=172.16.0.253 NETMASK=255.255.0.0 ks.cfg: install url --url=<url-to-fedora-10-x86_64> lang en_US.UTF-8 keyboard us network --bootproto=static --ip=172.16.0.253 --nameserver=172.16.0.1 --netmask=255.255.0.0 --hostname=<hostname> onboot=on rootpw password firewall --service=ssh authconfig --enableshadow --passalgo=sha512 selinux --disabled timezone --utc America/New_York bootloader --location=partition --driveorder=sda,sdb,sdc,sdd --append="rhgb quiet" clearpart --all --drives=sda,sdb,sdc,sdd part raid.39 --size=100 --ondisk=sda --asprimary part raid.42 --size=100 --ondisk=sdb --asprimary part raid.43 --size=100 --ondisk=sdc --asprimary part raid.44 --size=100 --ondisk=sdd --asprimary part raid.47 --size=512 --ondisk=sdd part raid.46 --size=512 --ondisk=sdc part raid.45 --size=512 --ondisk=sdb part raid.40 --size=512 --ondisk=sda part raid.50 --size=200 --grow --ondisk=sdd part raid.49 --size=200 --grow --ondisk=sdc part raid.48 --size=200 --grow --ondisk=sdb part raid.41 --size=200 --grow --ondisk=sda raid /boot --fstype ext3 --level=RAID1 --device=md0 --spares=2 raid.39 raid.42 raid.43 raid.44 raid swap --fstype swap --level=RAID0 --device=md1 raid.40 raid.45 raid.46 raid.47 raid / --fstype ext3 --level=RAID5 --device=md2 --spares=1 raid.41 raid.48 raid.49 raid.50 %packages @admin-tools @base @core @editors gpgme gpm pax gnupg2 Am I missing something obvious? I mean, I guess I can't expect to get it right on my first try... it's just that everything else seems to work (and the system installs properly in text mode if I manually configure the network information when it fails). |
Also doesn't work with this ks.cfg:
install url --url=<url> lang en_US.UTF-8 keyboard us network --bootproto=static --ip=172.16.0.253 --nameserver=172.16.0.1 --netmask=255.255.0.0 --gateway=172.16.0.1 --hostname=<hostname> --onboot=on rootpw password firewall --service=ssh authconfig --enableshadow --passalgo=sha512 selinux --disabled timezone --utc America/New_York bootloader --location=partition --driveorder=sda,sdb,sdc,sdd --append="rhgb quiet" # 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,sdb,sdc,sdd part raid.39 --size=100 --ondisk=sda --asprimary part raid.42 --size=100 --ondisk=sdb --asprimary part raid.43 --size=100 --ondisk=sdc --asprimary part raid.44 --size=100 --ondisk=sdd --asprimary part raid.47 --size=512 --ondisk=sdd part raid.46 --size=512 --ondisk=sdc part raid.45 --size=512 --ondisk=sdb part raid.40 --size=512 --ondisk=sda part raid.50 --size=200 --grow --ondisk=sdd part raid.49 --size=200 --grow --ondisk=sdc part raid.48 --size=200 --grow --ondisk=sdb part raid.41 --size=200 --grow --ondisk=sda raid /boot --fstype ext3 --level=RAID1 --device=md0 --spares=2 raid.39 raid.42 raid.43 raid.44 raid swap --fstype swap --level=RAID0 --device=md1 raid.40 raid.45 raid.46 raid.47 raid / --fstype ext3 --level=RAID5 --device=md2 --spares=1 raid.41 raid.48 raid.49 raid.50 %packages @admin-tools @base @core @editors gpgme gpm pax gnupg2 Clicked debug: Entering debugger... > /usr/lib/anaconda/iw/netconfig_dialog.py(79)_netdevChanged() -> if self.network.gateway: self.xml.get_widget("gatewayEntry").set_text(self.network.gateway) (Pdb) |
All times are GMT -5. The time now is 12:16 AM. |