First I would like to mention that I have never actually created a kickstart script before. Unfortunately scripting and automation is not my forte, but it is something I would really like to learn. Second I am looking to start by first creating a separate script for each ESXi install. So I will just update IP addresses for each script. Eventually I would like to get into a PXE install for full automation.
This kickstart example seems to most closely resemble what I am looking for. It is for ESXi 5.0, so I am wondering if everything in the script is still valid for 5.5?
http://thomaslowblog.blogspot.com/2011/09/esxi-50-kickstart-installation-part-3.html
I am using Distributed Switches, so I realize I will need to migrate all the standard ports after the install which is fine for now. Here is a list of what I want to accomplish with the kickstart script.
I think that covers just about everything. I didn't see in Thomas Low's blog how to add an SSH key. I would like to use the same key for all ESXi hosts to enable passwordless logins. Also I am using an iSCSI Initiator for connecting to the datastores instead of authentication.
This kickstart example seems to most closely resemble what I am looking for. It is for ESXi 5.0, so I am wondering if everything in the script is still valid for 5.5?
http://thomaslowblog.blogspot.com/2011/09/esxi-50-kickstart-installation-part-3.html
I am using Distributed Switches, so I realize I will need to migrate all the standard ports after the install which is fine for now. Here is a list of what I want to accomplish with the kickstart script.
- Accept EULA
- Install
- Enable SSH and add Specific Key
- SSH Banner
- NTP
- Specify VMNICs and VMKs with IP Address, MTU, iSCSI, FT, etc
- Add iSCSI Software Adapter and specify the iSCSI initiator name, add Network Adapters, add IPs for Dynamic Discovery, Rescan HBA
- SNMP Community
- Syslog to Datastore (After iSCSI Datastores are added)
- Syslog Server
I think that covers just about everything. I didn't see in Thomas Low's blog how to add an SSH key. I would like to use the same key for all ESXi hosts to enable passwordless logins. Also I am using an iSCSI Initiator for connecting to the datastores instead of authentication.