Change-Id: I07a25ca37b2efb1a99d30041812b40f9c6a59ad0
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1537
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George
| ... | ... |
@@ -1,8 +1,8 @@ |
| 1 |
-#Network PXE Boot |
|
| 1 |
+# Network PXE Boot |
|
| 2 | 2 |
|
| 3 | 3 |
Photon OS supports the Preboot Execution Environment, or PXE, over a network connection. This document describes how to set up a PXE boot server to install Photon OS. |
| 4 | 4 |
|
| 5 |
-#Server Setup |
|
| 5 |
+# Server Setup |
|
| 6 | 6 |
|
| 7 | 7 |
To set up a PXE server, you will need to have the following: |
| 8 | 8 |
|
| ... | ... |
@@ -12,8 +12,8 @@ To set up a PXE server, you will need to have the following: |
| 12 | 12 |
|
| 13 | 13 |
The instructions to set up the servers assume you have an Ubuntu 14.04 machine with a static IP address of `172.16.78.134`. |
| 14 | 14 |
|
| 15 |
-##DHCP Setup |
|
| 16 |
-* Intall the DHCP server: |
|
| 15 |
+## DHCP Setup |
|
| 16 |
+* Install the DHCP server: |
|
| 17 | 17 |
``` |
| 18 | 18 |
sudo apt-get install isc-dhcp-server |
| 19 | 19 |
``` |
| ... | ... |
@@ -35,7 +35,7 @@ The instructions to set up the servers assume you have an Ubuntu 14.04 machine w |
| 35 | 35 |
sudo service isc-dhcp-server restart |
| 36 | 36 |
``` |
| 37 | 37 |
|
| 38 |
-##TFTP Setup |
|
| 38 |
+## TFTP Setup |
|
| 39 | 39 |
* Install the TFTP server: |
| 40 | 40 |
``` |
| 41 | 41 |
sudo apt-get install tftpd-hpa |
| ... | ... |
@@ -46,9 +46,9 @@ The instructions to set up the servers assume you have an Ubuntu 14.04 machine w |
| 46 | 46 |
sudo service tftpd-hpa restart |
| 47 | 47 |
``` |
| 48 | 48 |
|
| 49 |
-##Optional: HTTP server setup |
|
| 49 |
+## Optional: HTTP server setup |
|
| 50 | 50 |
|
| 51 |
-This step is only needed if you are planning to serve the ks config file through this server; refer to [Kickstart support](kickstart.md) for details. |
|
| 51 |
+This step is only needed if you are planning to serve the ks (kickstart) config file through this server; refer to [Kickstart support](kickstart.md) for details. |
|
| 52 | 52 |
* Serving your local yum repo. |
| 53 | 53 |
You can install apache http web server |
| 54 | 54 |
``` |
| ... | ... |
@@ -68,7 +68,7 @@ To support ks, you can copy the sample config file from the iso and edit it; ref |
| 68 | 68 |
cp /mnt/photon-iso/isolinux/sample_ks.cfg /var/www/html/my_ks.cfg |
| 69 | 69 |
``` |
| 70 | 70 |
|
| 71 |
-##PXE boot files setup |
|
| 71 |
+## PXE boot files setup |
|
| 72 | 72 |
* Mount photon.iso to get Linux and initrd images: |
| 73 | 73 |
``` |
| 74 | 74 |
mkdir /mnt/photon-iso |