Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

Kickstart Troubleshooting - Static IP - ESXi 5

$
0
0

I cannot seem to set a static IP address in the "firstboot" section of my kickstart script.  Everything else-- DNS, Hostname, Local datastore name, etc-- works great.  The servers always come up using DHCP.  I've used every flag in the Guides, and seen lots of sample scripts online, and just for good measure, I have thrown most of what I've found into the script, as seen below.

 

#Assign an IP-Address to the first VMkernel, this will be used for management
network vswitch add --vswitch-name=vSwitch0
network vswitch standard policy failover set --active-uplinks=vmnic0
network vswitch standard portgroup add --portgroup-name=VMKernel --vswitch-name=vSwitch0
network --bootproto=static --device=vmnic0 --ip=[desired IP] --gateway=[static default gateway] --netmask=255.255.255.0 --addvmportgroup=0

 

Thanks for any help, in advance.


Viewing all articles
Browse latest Browse all 193198

Trending Articles



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