diff options
author | Simon Rettberg | 2016-07-04 11:05:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-04 11:05:40 +0200 |
commit | 16b188260580b31b39161df2ba601e350c81643b (patch) | |
tree | 3e4276d29f70ff9f59f7796a957f50268ac3366c /satellit_installer/includes | |
parent | [SSPS] Remove old vmchooser list (diff) | |
download | setup-scripts-16b188260580b31b39161df2ba601e350c81643b.tar.gz setup-scripts-16b188260580b31b39161df2ba601e350c81643b.tar.xz setup-scripts-16b188260580b31b39161df2ba601e350c81643b.zip |
[SSPS] Create tftp symlink for usb bootstick support
Diffstat (limited to 'satellit_installer/includes')
-rw-r--r-- | satellit_installer/includes/10-install_ipxe.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/satellit_installer/includes/10-install_ipxe.inc b/satellit_installer/includes/10-install_ipxe.inc index 4e18619..1fb14d3 100644 --- a/satellit_installer/includes/10-install_ipxe.inc +++ b/satellit_installer/includes/10-install_ipxe.inc @@ -9,4 +9,7 @@ install_ipxe() { git apply --ignore-whitespace < "${BASEDIR}/static_files/ipxe.patch" || perror "Could not patch ipxe compile-time configuration" cd - > /dev/null wget -O "$1/pxelinux.0" "$HTTP_BASE/pxelinux.0" || perror "Could not download pxelinux 4 from $HTTP_BASE" + # Symlink for USB-Stick HTTP access + mkdir -p "$WWWDIR" + ln -s -f "$TFTPDIR" "$WWWDIR/tftp" || perror "Could not create symlink for tftp dir" } |