To answer my own question, after much fiddling, I found an approach that
works and gives me one static and one dynamic ip. Snipping from the
kickstart and adding some comments:
[... SNIP ...]
# First, I can't get this to work with NetworkManager, so I switched to
using network:
services --enabled=network --disabled=NetworkManager,sshd
[... SNIP ...]
# Then I use a standard dhcp config on eth0:
network --bootproto=dhcp --device=eth0 --onboot=on
[... SNIP ...]
# Then in the %post section, I create an init script and set it to start
right after network:
%post
[... SNIP ...]
script="tdw-network-config"
path="/etc/rc.d/init.d/$script"
cat > $path << EOF
#!/bin/bash
#
# TDW Network Config: Configure Networking
#
# chkconfig: 345 11 99
# description: Fix Network Configuration so both eth devices work as we
want them to work
# These _should_ be pulled from a config file!
/sbin/ifconfig eth1 10.0.0.1
/sbin/ifconfig eth1 netmask 255.255.255.0
EOF
chmod 755 $path
/sbin/restorecon $path
/sbin/chkconfig --add $script
[... SNIP ...]
Tim Wood wrote:
In my livecd-creator kickstart, I'm trying variants to do one dhcp and
one static eth:
network --bootproto=dhcp --device=eth0 --onboot=on
network --bootproto=static --device=eth1 --onboot=on --ip=[ snip ]
When I check ifconfig, I have eth1 with dhcp and eth0 without an ip.
When I go through Network Device Control (gui), I see eth0, eth1,
eth0.bak and eth1.bak with my static dumped in one weird place and my
dhcp in another. Headache time...
When I googled around I didn't find much useful besides a grumpy post
that indicates there are problems with Network Manager under f8.
Heavily snipped down version:
Fedora's implementation of Network Manager ... will (not) allow you to
set your system to a fixed IP address - only DHCP assigned addresses
work. ... take a look at
http://www.fedoraforum.org/forum/showthread.php?t=172205&highlight=networkmanager
Is anybody on the list using eth0 and eth1 in a kickstart file or have
an idea how to make such a setup work.
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)
The Data Wranglers
Web, Database & more since since 1994
www.datawranglers.com
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
--
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)
The Data Wranglers
Web, Database & more since since 1994
www.datawranglers.com
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list