/etc/sysconfig/network-scripts/ifcfg-*
)anaconda --image=
anaconda-dracut
package)man dracut.cmdline
ip=ens3:dhcp
ip=10.34.102.223::10.34.102.254:255.255.255.0::ens3:none namserver=10.34.39.2
ip=
optionBOOTIF=
option set by PXE config (ipappend 2
)network --device=ens3 --bootproto static \
--ip 10.34.102.223 --netmask 255.255.255.0 --gateway 10.34.102.254 --nameserver 10.34.39.2 \
--activate --onboot=no
/usr/sbin/parse-kickstart
ks=hd:LABEL=KICKSTARTDEV:/ks.cfg
) or injected in initramfs (virt-install)rd.break=pre-pivot
boot optionexit
vi /run/initramfs/state/etc/sysconfig/network-scripts/ifcfg-ens3
exit
%include /tmp/ksnetconf
%pre
echo "network --device ens9 --bootproto dhcp --activate --onboot=no" >> /tmp/ksnetconf
%end
nm-connection-editor
DISPLAY=:1 nm-connection-editor
nmcli
in tty2:
ip=ibft
boot option required--activate
option
--onboot
optiondracut ip= boot options for root on network storage
%post
kickstart section
%post
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
%end
network --device bond0 --bootproto=static \
--ip 10.34.107.233 --netmask 255.255.255.0 --gateway 10.34.107.255 --nameserver 10.34.107.1 \
--bondslaves=eth0,eth1 --bondopts=mode=active-backup,miimon=100,use_carrier=1 \
--onboot=no --activate --noipv6