diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
commit | 709c78569b26677624e60588fa1166dc659ac93c (patch) | |
tree | 2bd5555af31b637d03693b8563fb24b41bf1f22b /bootstrap/make-pxeboot.sh | |
parent | f5da0d943401e527f5162e9c6344deb65b19b045 (diff) |
chore: cleanup repo
Diffstat (limited to 'bootstrap/make-pxeboot.sh')
-rwxr-xr-x | bootstrap/make-pxeboot.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/bootstrap/make-pxeboot.sh b/bootstrap/make-pxeboot.sh deleted file mode 100755 index 4ee0063..0000000 --- a/bootstrap/make-pxeboot.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# -# This tool is to be executed by make-base-requires.sh -# From tg14 we assume that TFTP server/PXE-boot server -# is the Secondary/SMTP/TFTP box. -# -# TODO: Either rewrite this to be run at/from the bootstrapper, -# and/or add support for ${BASE} redirection.. - -apt-get -y install tftpd-hpa -apt-get -y install nfs-kernel-server - -cat << END > /etc/default/tftpd-hpa -TFTP_USERNAME="tftp" -TFTP_DIRECTORY="/var/lib/tftpboot" -TFTP_ADDRESS=":69" -TFTP_OPTIONS="--secure" -END - -mkdir -p /var/lib/tftpboot - -cd ~/tgmanage -# NOTE, this step depends on an SCP of basic content from the bootstrap... -# This should be done by bootstrap/update-tools ... -cp -R pxe/* /var/lib/tftpboot - -bootstrap/fetch-debinstall.sh /var/lib/tftpboot/debian -# bootstrap/fetch-ubuntulive.sh <- this tool does not exist xD -# NOTE! The pxe/ directory contains an 'ubuntu' menu... -# The files required to booting Ubuntu installer or live -# must be fetched manually (for now) - -# Restart tftpd-hpa.service -systemctl restart tftpd-hpa.service - |