Re: Anaconda error

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

 



Andrew wrote:
Hello,

I keep getting an error while trying to install any version of Fedora with cobbler. While using dhcp or trying to manually set the IP Anaconda says cannot set IP and the install errors out.

You have "network --bootproto=dhcp --device=eth1 --onboot=on"

Which seems to be you're not setting up eth0 at this time.
What do you have on the kernel options line?

--Michael



Here is my kickstart from my Fedora 9 profile:

# kickstart template for Fedora 8 and later.
# (includes %end blocks)
# do not use with earlier distros

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=http://192.168.100.18/cblr/links/Fedora9-i386
# If any cobbler repo definitions were referenced in the kickstart profile, include them here. repo --name=source-1 --baseurl=http://192.168.100.18/cobbler/ks_mirror/Fedora9/os

# Network information
network --bootproto=dhcp --device=eth1 --onboot=on
# Reboot after installation
reboot

# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone  America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr

# Magically figure out how to partition this thing
%include /tmp/partinfo



%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1
d2=$3

cat << EOF > /tmp/partinfo
part / --fstype ext3 --size=1024 --grow --ondisk=$d1 --asprimary
part swap --size=1024 --ondisk=$d1 --asprimary
EOF



wget "http://192.168.100.18/cblr/svc/op/trig/mode/pre/profile/Fedora9-i386"; -O /dev/null
%end

%packages
%end

%post




wget "http://192.168.100.18/cblr/svc/op/ks/profile/Fedora9-i386"; -O /root/cobbler.ks wget "http://192.168.100.18/cblr/svc/op/trig/mode/post/profile/Fedora9-i386"; -O /dev/null
%end



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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