I am using Kickstart to automate a CentOS install. I wanted one of the interfaces to have static IP so I wrote -
network --onboot yes --bootproto static \
-ip="intended IP" -netmask="intended netmask" \
-gateway="intented gateway" --device eth0*
I also wanted the other ethernet to have dynamic ip so i also configured a DHCP server for my network and for the other interface card wrote
network --onboot yes --device eth1 --bootproto dhcp
But to my surprise the ethernet to be configured static was also provided with dynamic IP. What is wrong here?