I'm found that you may need to reload the management daemons to get it to show properly (and logout/login), so at the end of the script add:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Hey guys, thanks for this! I have a little problem where when I use the esxcfg-vswitch command to add the usb device as an uplink it seems to perform correctly but doesn't show in the gui as the uplink is in the vswitch. yet if i put a vm in the port group the network is functional. any reason why the gui doesn't reflect this? FYI - I created the vswitch and portgroup in the gui originally to note that the config doesn't stick on a reboot. Am i doing something wrong?
-m