Project

General

Profile

VMware ESXi » History » Revision 3

Revision 2 (Corey Osman, 12/27/2011 10:13 PM) → Revision 3/23 (Corey Osman, 12/27/2011 10:14 PM)

h1. How to Provision a VMware ESXi server using foreman 

 Although puppet will not run under ESX server we can still use foreman to kickstart the server using PXE. 

 h2. Summary of what you need to do: 
 # Copy iso contents of ESXi to your media directory 
 # Copy the esx boot files to your tftp directory 
 # Create a ESX operating system in foreman 
 # Create a ESX partition table (optional) template 
 # Create a ESX kickstart template in foreman 
 # Create a ESX pxe or gpxe template for ESX in foreman 


 <pre> 
 LABEL ESXi4u1HP-x86_64 
         kernel /images/ESXi4u1HP-x86_64/mboot.c32 
         MENU LABEL ESXi4u1HP-x86_64 
         append images/ESXi4u1HP-x86_64/vmkboot.gz ks=http://10.0.x.x/cblr/svc/op/ks/profile/ESXi4u1HP-x86_64 ks=http://10.0.20.130/cblr/svc/op/ks/profile/ESXi4u1HP-x86_64 --- images/ESXi4u1HP-x86_64/vmkernel.gz --- images/ESXi4u1HP-x86_64/sys.vgz --- images/ESXi4u1HP-x86_64/cim.vgz --- images/ESXi4u1HP-x86_64/ienviron.vgz --- images/ESXi4u1HP-x86_64/install.vgz 
 </pre>