LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 07-22-2009, 10:23 PM   #1
hoover90
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
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).

Last edited by hoover90; 07-23-2009 at 02:59 PM.
 
Old 07-22-2009, 10:35 PM   #2
hoover90
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kickstart not finding configuration file over simple network connection poblano Red Hat 2 03-24-2008 10:01 AM
fedora 7, network install using cobbler fails with dhcpv4 timeout RKris Linux - Software 0 11-01-2007 05:53 AM
Fedora Core 4 Kickstart Install Fails bpetersen Fedora - Installation 2 11-14-2006 09:21 AM
kickstart network install of rh 9 baz2 Red Hat 13 03-04-2005 09:42 AM
KickStart Network install hasan Linux - Networking 1 04-29-2004 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration