VMware Cloud Community
lb1980
Contributor
Contributor

Kickstart script: Problems adding VMotion/VMKernel

I am working on a scripted install of ESX 4. I have the following in my kickstart script.

  1. Add VMotion vmkernel port
/usr/sbin/esxcfg-vswitch -A VMotion vSwitch0 /usr/sbin/esxcfg-vswitch -v 170 -p VMotion vSwitch0 /usr/sbin/esxcfg-vmknic -a -i 192.168.151.290 -n 255.255.255.0 VMotion

The first two commands are working fine, but when the 3rd command executes I get the following error...

Error performing operation: Not a valid input string.Can be 'X.X.X.X' or 'DHCP' or 'DHCPV6' or 'AUTOCONF' or 'X:X:X::/X'

As far as I can tell I am entering the command the way it's supposesd to be, so why am I getting this error???

0 Kudos
4 Replies
jguzmanr
Enthusiast
Enthusiast

/usr/sbin/esxcfg-vmknic -a -i 192.168.151.290 -n 255.255.255.0 VMotion? 290? is that a typo?

lb1980
Contributor
Contributor

Wow I feel stupid now. Missed the typo. Might help if I use 190 instead. Thanks

0 Kudos
jguzmanr
Enthusiast
Enthusiast

been there....done that! Smiley Wink

0 Kudos
lb1980
Contributor
Contributor

Sometimes I just need a second set of eyes. Smiley Happy

0 Kudos