Project

General

Profile

VMware ESXi » History » Version 2

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

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