Start a Conversation

Unsolved

This post is more than 5 years old

12278

March 4th, 2011 18:00

Automate ESX4 install on M610... KS.CFG

I seem to be having problems with a KS.CFS file on USB and ISO ESX4 install. I receive errors regarding /dev/sda not found or unable to open. Is there a working KS.CFG file someone has that I can auto deploy ESX4 on M610 Blades to the local HD and not destroy the FC SAN LUN. Thanks soo much.

180 Posts

March 7th, 2011 13:00

Hi @wstreeter,

For your environment, which disk partition is being discovered & presented first?

***

Using VMware's vSphere ESXi VC Setup Guide - http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_i_vc_setup_guide.pdf .
PLEASE NOTE: This default script goes out and finds the 1st discovered disk to install onto. You can alter the autopart command to include --firstdisk=local to look for local disk 1st. Again, before you run this script, check which disk partition is presented 1st so that you don't overwrite your FC SAN LUN.

On pg 36-37, the default ks.cfg script contains the following commands:
# Accept the VMware End User License Agreement
vmaccepteula
# Set the root password for the DCUI and Tech Support Mode
rootpw mypassword
# Choose the first discovered disk to install onto
autopart --firstdisk --overwritevmfs
# The installation media is in the CD-ROM drive
install cdrom
# Set the network to DHCP on the first network adapter
network --bootproto=dhcp --device=vmnic0

# A sample post-install script
%post --unsupported --interpreter=python --ignorefailure=true
import time
stampFile = file('/finished.stamp', mode='w'
stampFile.write( time.asctime() )
No Events found!

Top