VMware Cloud Community
justinc1981
Contributor
Contributor

Unattented KS.cfg script - disk error

hi all

I have decided to try my hand at scripting a ESXi installation from a KS.cfg file so far i have the following script

accepteula

install --fistdisk=local,

rootpw ####

network --bootproto=static --device=vmnic0 --ip=192.168.200.### --gateway=192.168.200.### --nameserver='10.10.1.2,10.10.1.3' --netmask=255.255.255.0 --hostname=JustinESX01 --addvmportgroup=0

reboot

it seems to be failing on the "install --fistdisk=local," - it doesn't find the local harddrive - if i do a manual step by step installation i can install ESXi to the hard drive without a problem

the Server is a test machine with a 500GB SATA seagate hard drive

any ideas how i can over comes this problem ?

thanks

Justin

0 Kudos
3 Replies
a_p_
Leadership
Leadership

Just to rule this out.

Is this just a typo, "--fistdisk" instead of "--firstdisk" (with a "r")?

André

0 Kudos
justinc1981
Contributor
Contributor

hi there

yes sorry it was a typo my script has a "r" in it

cheers

Justin

0 Kudos
a_p_
Leadership
Leadership

With some controllers the storage is recognized as remote storage although locally installed. When you install ESXi interactively, does it show up as local or remote storage.

André

0 Kudos