Pages: [1]
Print
Author Topic: Set every virtual switch to listen and advertise  (Read 2020 times)
esarakaitis
Administrator
Full Member
*****
Posts: 218


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« on: January 14, 2009, 08:08:32 AM »

Code:
#!/bin/bash
for SWITCH in $( esxcfg-vswitch -l | awk '/vSwitch/ {print $1}'); do
  /usr/sbin/esxcfg-vswitch -B both $SWITCH
done
Logged
Pages: [1]
Print
Jump to: