aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/testbed-setup/README.md')
-rw-r--r--resources/tools/testbed-setup/README.md31
1 files changed, 29 insertions, 2 deletions
diff --git a/resources/tools/testbed-setup/README.md b/resources/tools/testbed-setup/README.md
index e795a2e4fc..0a423cc953 100644
--- a/resources/tools/testbed-setup/README.md
+++ b/resources/tools/testbed-setup/README.md
@@ -27,10 +27,13 @@ is available on the PXE bootstrap server in ~testuser/host-setup.
### Prepare the PXE bootstrap server (one-time)
- `sudo apt-get install isc-dhcp-server tftpd-hpa nginx-light ansible`
+ - edit dhcpd.conf and place it to /etc/dhcp/
+ - `sudo cp dhcpd.cfg /etc/dhcp/`
+ - `sudo service isc-dhcp-server restart`
- `cd ~testuser/host-setup`
- - `wget 'http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-server-amd64.iso'`
+ - `wget 'http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-server-amd64.iso'`
- `sudo mkdir /mnt/cdrom`
- - `sudo mount -o loop ubuntu-16.04.1-server-amd64.iso /mnt/cdrom/`
+ - `sudo mount -o loop ubuntu-16.04.2-server-amd64.iso /mnt/cdrom/`
- `sudo cp -r /mnt/cdrom/install/netboot/* /var/lib/tftpboot/`
- `sudo mkdir /usr/share/nginx/html/ubuntu`
- `sudo cp -r /mnt/cdrom/* /usr/share/nginx/html/ubuntu/`
@@ -45,6 +48,30 @@ is available on the PXE bootstrap server in ~testuser/host-setup.
- `sudo cp boot-screens_txt.cfg /var/lib/tftpboot/ubuntu-installer/amd64/boot-screens/txt.cfg`
- `sudo cp syslinux.cfg /var/lib/tftpboot/ubuntu-installer/amd64/boot-screens/syslinux.cfg`
+### Prepare the PXE bootstrap server (alternative way without NGINX)
+
+ - `sudo apt-get install isc-dhcp-server tftpd-hpa ansible`
+ - edit dhcpd.conf and place it to /etc/dhcp/
+ - `sudo cp dhcpd.cfg /etc/dhcp/`
+ - `sudo service isc-dhcp-server restart`
+ - `cd ~testuser/host-setup`
+ - `wget 'http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-server-amd64.iso'`
+ - `sudo mkdir /mnt/cdrom`
+ - `sudo mount -o loop ubuntu-16.04.1-server-amd64.iso /mnt/cdrom/`
+ - `sudo cp -r /mnt/cdrom/install/netboot/* /var/lib/tftpboot/`
+ - `sudo mkdir /var/www/download/ubuntu`
+ - `sudo cp -r /mnt/cdrom/* /var/www/download/ubuntu/`
+ - `sudo cp /mnt/cdrom/ubuntu/isolinux/ldlinux.c32 /var/lib/tftpboot`
+ - `sudo cp /mnt/cdrom/ubuntu/isolinux/libcom32.c32 /var/lib/tftpboot`
+ - `sudo cp /mnt/cdrom/ubuntu/isolinux/libutil.c32 /var/lib/tftpboot`
+ - `sudo cp /mnt/cdrom/ubuntu/isolinux/chain.c32 /var/lib/tftpboot`
+ - `sudo umount /mnt/cdrom`
+ - edit ks.cfg and replace IP address with that of your PXE bootstrap server and subdir in /var/www (in this case /download)
+ - `sudo cp ks.cfg /var/www/download/ks.cfg`
+ - edit boot-screens_txt.cfg and replace IP address with that of your PXE bootstrap server and subdir in /var/www (in this case /download)
+ - `sudo cp boot-screens_txt.cfg /var/lib/tftpboot/ubuntu-installer/amd64/boot-screens/txt.cfg`
+ - `sudo cp syslinux.cfg /var/lib/tftpboot/ubuntu-installer/amd64/boot-screens/syslinux.cfg`
+
### New testbed host - manual preparation
- set CIMC address