teaming configuration
I am trying to create a kickstart profile for RHEL 7.2. I am having trouble setting up team. I hav tried 2 ways of doing so. The first way I wanted to work, but failed, was in the profile and network section, I fill in the field with this info >> --bootproto=static --device=team0 --gateway=10.9.184.1 --ip=10.9.184.96 -nameserver=10.9.402.62,10.9.402.34 --netmask=255.255.248.0 --noipv6 --activate --hostname=lts501p.companydomain --teamslaves=enp2s0f0,enp2s0f1 --teamconfig='{"runner": {"name": "activebackup"}}' . This failed to work, Then I wanted to create a post script in kickstart, so that after when it installs the THEL 7.2 OS it can run the script which will configure the network. This is the script >>
nmcli con down enp2s0f0
nmcli con down enp2s0f1
nmcli connection add type team con-name teamconnection1 ifname team0 \
ip4 10.9.184.96 gw4 10.9.184.1
nmcli con mod teamconnection1 ipv4.dns "10.9.402.62 10.9.402.34"
nmcli con up teamconnection1
nmcli con add type team-slave con-name Team0-port1 ifname enp2s0f0 master team0
nmcli con add type team-slave con-name Team0-port2 ifname enp2s0f1 master team0
nmcli con up teamconnection1
nmcli connection show
This obviously did not work either, is there anything I am missing? Please help!!
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
