Project

General

Profile

VMware ESXi » History » Version 3

Corey Osman, 12/27/2011 10:14 PM

1 1 Corey Osman
h1. How to Provision a VMware ESXi server using foreman
2 1 Corey Osman
3 1 Corey Osman
Although puppet will not run under ESX server we can still use foreman to kickstart the server using PXE.
4 1 Corey Osman
5 1 Corey Osman
h2. Summary of what you need to do:
6 1 Corey Osman
# Copy iso contents of ESXi to your media directory
7 1 Corey Osman
# Copy the esx boot files to your tftp directory
8 1 Corey Osman
# Create a ESX operating system in foreman
9 1 Corey Osman
# Create a ESX partition table (optional) template
10 1 Corey Osman
# Create a ESX kickstart template in foreman
11 1 Corey Osman
# Create a ESX pxe or gpxe template for ESX in foreman
12 1 Corey Osman
13 1 Corey Osman
14 2 Corey Osman
<pre>
15 1 Corey Osman
LABEL ESXi4u1HP-x86_64
16 1 Corey Osman
        kernel /images/ESXi4u1HP-x86_64/mboot.c32
17 1 Corey Osman
        MENU LABEL ESXi4u1HP-x86_64
18 3 Corey Osman
        append images/ESXi4u1HP-x86_64/vmkboot.gz ks=http://10.0.x.x/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
19 2 Corey Osman
</pre>
20 1 Corey Osman
21 1 Corey Osman