Hi,
I am running CentOS 7 release 7.5.1804 on one of my virtual machine using VMware ESXi 6.5
I was running my application of servers without VMware where the requirement was to have network redundancy and so I used NIC teaming with activebackup runner. I am using a shell script to create the config files required to create the NIC teaming. The ethernet config file is modified like this:
Now, my shell script offers users to create and delete the team and when they try to delete the team I run :
ifdown /etc/sysconfig/network-interface/ifcfg-ens160
and then delete all the team related changes from the config file using the script.
But as soon as my script runs the ifdown command I am getting the following error.
/etc/sysconfig/network-interface/ifcfg-ens160: line19: prio: command not found
This is only happening on VMware and not on CentOS running on the bare server.
Can anyone please help me to fix this issue?
Thanks
Anand