aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/pxe
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-02-23 16:27:07 +0000
committerPeter Mikus <pmikus@cisco.com>2019-05-22 09:30:11 +0000
commit04ea580e111ddf5be6101be1fbfe9fde56f1a214 (patch)
tree09247ed50f1da5e09b79dcf41a05b38afeaa4ee2 /resources/tools/testbed-setup/pxe
parentc6cd03e08d9429168b0e183b8dcbce991112f279 (diff)
Ansible: Add CIMC/IPMI/COBBLER
- added tasks and handlers for CIMC, IPMI, COBBLER - allows provisioning of servers via COBBLER Change-Id: I64080069260dabb8a6e3b648aeff12f109d3f7c2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/pxe')
-rw-r--r--resources/tools/testbed-setup/pxe/boot-screens_txt.cfg11
-rw-r--r--resources/tools/testbed-setup/pxe/dhcpd.conf223
-rw-r--r--resources/tools/testbed-setup/pxe/ks.cfg82
-rw-r--r--resources/tools/testbed-setup/pxe/syslinux.cfg8
4 files changed, 0 insertions, 324 deletions
diff --git a/resources/tools/testbed-setup/pxe/boot-screens_txt.cfg b/resources/tools/testbed-setup/pxe/boot-screens_txt.cfg
deleted file mode 100644
index 4c73de3855..0000000000
--- a/resources/tools/testbed-setup/pxe/boot-screens_txt.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
-default install
-label install
- menu label ^Install
- menu default
- kernel ubuntu-installer/amd64/linux
- append ks=http://10.30.51.28/download/ks.cfg ksdevice=bootif initrd=ubuntu-installer/amd64/initrd.gz console=tty0 console=ttyS0,115200n8 --- quiet
- IPAPPEND 2
-label cli
- menu label ^Command-line install
- kernel ubuntu-installer/amd64/linux
- append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=788 initrd=ubuntu-installer/amd64/initrd.gz --- quiet
diff --git a/resources/tools/testbed-setup/pxe/dhcpd.conf b/resources/tools/testbed-setup/pxe/dhcpd.conf
deleted file mode 100644
index d78792da19..0000000000
--- a/resources/tools/testbed-setup/pxe/dhcpd.conf
+++ /dev/null
@@ -1,223 +0,0 @@
-#
-# Sample configuration file for ISC dhcpd for Debian
-#
-# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
-# configuration file instead of this file.
-#
-#
-
-# The ddns-updates-style parameter controls whether or not the server will
-# attempt to do a DNS update when a lease is confirmed. We default to the
-# behavior of the version 2 packages ('none', since DHCP v2 didn't
-# have support for DDNS.)
-ddns-update-style none;
-
-# option definitions common to all supported networks...
-option domain-name "linuxfoundation.org";
-option domain-name-servers 199.204.44.24, 199.204.47.54;
-
-default-lease-time 600;
-max-lease-time 7200;
-
-# If this DHCP server is the official DHCP server for the local
-# network, the authoritative directive should be uncommented.
-authoritative;
-
-# Use this to send dhcp log messages to a different log file (you also
-# have to hack syslog.conf to complete the redirection).
-log-facility local7;
-
-# This is content of file (/etc/dhcp/dhcpd.conf) currently located on host
-# t4-virl1 with address 10.30.51.28. Please reflect any actual changes before
-# overwriting. This file is used for PXE boot.
-subnet 10.30.51.0 netmask 255.255.255.0 {
- option routers 10.30.51.1;
- host t1-tg1 {
- hardware ethernet 00:fe:c8:e5:6c:76;
- fixed-address 10.30.51.16;
- filename "pxelinux.0";
- }
- host t1-sut1 {
- hardware ethernet 00:fe:c8:e5:68:32;
- fixed-address 10.30.51.17;
- filename "pxelinux.0";
- }
- host t1-sut2 {
- hardware ethernet cc:46:d6:17:e0:58;
- fixed-address 10.30.51.18;
- filename "pxelinux.0";
- }
- host t2-tg1 {
- hardware ethernet 00:fe:c8:e5:6a:72;
- fixed-address 10.30.51.20;
- filename "pxelinux.0";
- }
- host t2-sut1 {
- hardware ethernet 00:fe:c8:e5:68:e0;
- fixed-address 10.30.51.21;
- filename "pxelinux.0";
- }
- host t2-sut2 {
- hardware ethernet 00:fe:c8:58:1e:f6;
- fixed-address 10.30.51.22;
- filename "pxelinux.0";
- }
- host t3-tg1 {
- hardware ethernet 00:fe:c8:e5:68:c2;
- fixed-address 10.30.51.24;
- filename "pxelinux.0";
- }
- host t3-sut1 {
- hardware ethernet 00:f2:8b:7c:fb:4a;
- fixed-address 10.30.51.25;
- filename "pxelinux.0";
- }
- host t3-sut2 {
- hardware ethernet 58:ac:78:5c:90:78;
- fixed-address 10.30.51.26;
- filename "pxelinux.0";
- }
- host t4-virl2 {
- hardware ethernet 00:42:68:6f:68:ee;
- fixed-address 10.30.51.29;
- filename "pxelinux.0";
- }
- host t4-virl3 {
- hardware ethernet 00:42:68:6f:6f:c0;
- fixed-address 10.30.51.30;
- filename "pxelinux.0";
- }
-# 1-Node Xeon
- host s1-t11-sut1 {
- hardware ethernet ac:1f:6b:8a:8c:76;
- fixed-address 10.30.51.50;
- filename "pxelinux.0";
- }
- host s2-t12-sut1 {
- hardware ethernet ac:1f:6b:8a:8c:ea;
- fixed-address 10.30.51.51;
- filename "pxelinux.0";
- }
-# 2-Node Xeon
- host s3-t21-sut1 {
- hardware ethernet ac:1f:6b:8a:8d:b6;
- fixed-address 10.30.51.44;
- filename "pxelinux.0";
- }
- host s4-t21-tg1 {
- hardware ethernet ac:1f:6b:8a:8d:94;
- fixed-address 10.30.51.45;
- filename "pxelinux.0";
- }
- host s5-t22-sut1 {
- hardware ethernet ac:1f:6b:ab:d9:ae;
- fixed-address 10.30.51.52;
- filename "pxelinux.0";
- }
- host s6-t22-tg1 {
- hardware ethernet ac:1f:6b:ab:d7:4a;
- fixed-address 10.30.51.53;
- filename "pxelinux.0";
- }
- host s7-t23-sut1 {
- hardware ethernet ac:1f:6b:8b:52:b4;
- fixed-address 10.30.51.54;
- filename "pxelinux.0";
- }
- host s8-t23-tg1 {
- hardware ethernet ac:1f:6b:8b:56:8c;
- fixed-address 10.30.51.55;
- filename "pxelinux.0";
- }
- host s9-t24-sut1 {
- hardware ethernet ac:1f:6b:ab:d7:92;
- fixed-address 10.30.51.56;
- filename "pxelinux.0";
- }
- host s10-t24-tg1 {
- hardware ethernet ac:1f:6b:8a:8d:0a;
- fixed-address 10.30.51.57;
- filename "pxelinux.0";
- }
-# 3-Node Xeon
- host s11-t31-sut1 {
- hardware ethernet ac:1f:6b:8b:54:c4;
- fixed-address 10.30.51.46;
- filename "pxelinux.0";
- }
- host s12-t31-sut2 {
- hardware ethernet ac:1f:6b:8b:56:b6;
- fixed-address 10.30.51.47;
- filename "pxelinux.0";
- }
- host s13-t31-tg1 {
- hardware ethernet ac:1f:6b:8b:55:78;
- fixed-address 10.30.51.48;
- filename "pxelinux.0";
- }
- host s14-t32-sut1 {
- hardware ethernet ac:1f:6b:8b:53:64;
- fixed-address 10.30.51.58;
- filename "pxelinux.0";
- }
- host s15-t32-sut2 {
- hardware ethernet ac:1f:6b:8b:56:e2;
- fixed-address 10.30.51.59;
- filename "pxelinux.0";
- }
- host s16-t32-tg1 {
- hardware ethernet ac:1f:6b:8b:55:ae;
- fixed-address 10.30.51.60;
- filename "pxelinux.0";
- }
-# 3-Node Arm
-# host s15-t33-sut1 {
-# hardware ethernet 00:00:00:00:00:00;
-# fixed-address 10.30.51.36;
-# filename "ubuntu-installer/arm64/bootnetaa64.efi";
-# }
-# host s16-t33-sut2 {
-# hardware ethernet 00:00:00:00:00:00;
-# fixed-address 10.30.51.37;
-# filename "ubuntu-installer/arm64/bootnetaa64.efi";
-# }
- host s19-t33t34-tg1 {
- hardware ethernet ac:1f:6b:8b:53:60;
- fixed-address 10.30.51.49;
- filename "pxelinux.0";
- }
-# host s18-t34-sut1 {
-# hardware ethernet 00:00:00:00:00:00;
-# fixed-address 10.30.51.41;
-# filename "ubuntu-installer/arm64/bootnetaa64.efi";
-# }
-# host s19-t34-sut2 {
-# hardware ethernet 00:00:00:00:00:00;
-# fixed-address 10.30.51.42;
-# filename "ubuntu-installer/arm64/bootnetaa64.efi";
-# }
-
-# 2-Node DNV
- host s28-t26-sut1 {
- hardware ethernet ac:1f:6b:8b:54:c8;
- fixed-address 10.30.51.70;
- filename "pxelinux.0";
- }
- host s29-t27-sut1 {
- hardware ethernet ac:1f:6b:5b:40:41;
- fixed-address 10.30.51.71;
- filename "pxelinux.0";
- }
-
-# 3-Node DNV
- host s30-t35-sut1 {
- hardware ethernet 0c:c4:7a:fc:c9:56;
- fixed-address 10.30.51.72;
- filename "pxelinux.0";
- }
- host s31-t35-sut2 {
- hardware ethernet 0c:c4:7a:fc:ca:8e;
- fixed-address 10.30.51.73;
- filename "pxelinux.0";
- }
-} \ No newline at end of file
diff --git a/resources/tools/testbed-setup/pxe/ks.cfg b/resources/tools/testbed-setup/pxe/ks.cfg
deleted file mode 100644
index 7f44a89f66..0000000000
--- a/resources/tools/testbed-setup/pxe/ks.cfg
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-#Generic Kickstart template for Ubuntu
-#Platform: x86 and x86-64
-#
-
-#System language
-lang en_US
-
-#Language modules to install
-langsupport en_US
-
-#System keyboard
-keyboard us
-
-#System mouse
-mouse
-
-#System timezone
-timezone America/Los_Angeles
-
-#Root password
-rootpw --disabled
-
-#Initial user (user with sudo capabilities)
-user testuser --fullname "Test User" --password Csit1234
-
-#Reboot after installation
-reboot
-
-#Use text mode install
-text
-
-#Install OS instead of upgrade
-install
-
-#Installation media
-#cdrom
-#nfs --server=server.com --dir=/path/to/ubuntu/
-url --url http://10.30.51.28/download/ubuntu
-
-#System bootloader configuration
-bootloader --location=mbr
-
-#Clear the Master Boot Record
-zerombr yes
-
-#Partition clearing information
-clearpart --all --initlabel
-
-#Basic disk partition
-part /boot --fstype ext4 --size 256 --asprimary
-part / --fstype ext4 --size 1 --grow --asprimary
-part swap --size 1024
-
-#Advanced partition
-#part /boot --fstype=ext4 --size=500 --asprimary
-#part pv.aQcByA-UM0N-siuB-Y96L-rmd3-n6vz-NMo8Vr --grow --size=1
-#volgroup vg_mygroup --pesize=4096 pv.aQcByA-UM0N-siuB-Y96L-rmd3-n6vz-NMo8Vr
-#logvol / --fstype=ext4 --name=lv_root --vgname=vg_mygroup --grow --size=10240 --maxsize=20480
-#logvol swap --name=lv_swap --vgname=vg_mygroup --grow --size=1024 --maxsize=8192
-
-#System authorization infomation
-auth --useshadow --enablemd5
-
-#Network information
-network --bootproto=dhcp
-
-#Firewall configuration
-firewall --disabled --ssh
-
-#Do not configure the X Window System
-skipx
-
-###
-
-preseed live-installer/net-image string http://10.30.51.28/download/ubuntu/install/filesystem.squashfs
-preseed user-setup/allow-password-weak boolean true
-
-
-%packages
-openssh-server
-python2.7
diff --git a/resources/tools/testbed-setup/pxe/syslinux.cfg b/resources/tools/testbed-setup/pxe/syslinux.cfg
deleted file mode 100644
index f2cb1b0a4e..0000000000
--- a/resources/tools/testbed-setup/pxe/syslinux.cfg
+++ /dev/null
@@ -1,8 +0,0 @@
-# D-I config version 2.0
-serial 0 115200
-# search path for the c32 support libraries (libcom32, libutil etc.)
-path ubuntu-installer/amd64/boot-screens/
-include ubuntu-installer/amd64/boot-screens/menu.cfg
-default ubuntu-installer/amd64/boot-screens/vesamenu.c32
-prompt 0
-timeout 10