Quantcast
Viewing all articles
Browse latest Browse all 60069

vmware-vim-cmd commands & %post kickstart

 

Hi,

 

 

I am working on a kickstart script to autobuild my ESX servers. It is working great including the %post script section. However I have one problem. My post script can create virtual switches and port groups but I can't set the network load balancing to IP hash. The command I am using is:

 

 

/usr/bin/vmware-vim-cmd "hostsvc/net/portgroup_set --nicteaming-policy=loadbalance_ip vSwitch1 DMZ"

 

 

 

 

 

If I run this from the service console it works. However, when I place it in my post script it just doesn't work. Does anybody know why?

 

 

 

 

 

Cheers

 

 


Viewing all articles
Browse latest Browse all 60069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>