summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-23 11:13:15 +0100
committerSimon Rettberg2016-02-23 11:13:55 +0100
commit04aca08c5ffd5aa5044c6d4d9a958ffa13800c0f (patch)
tree6bd8846fa9c3482b9e6367cf4bfab934e03b3bd7 /satellit_upgrader
parentAdd ipxe (diff)
downloadsetup-scripts-04aca08c5ffd5aa5044c6d4d9a958ffa13800c0f.tar.gz
setup-scripts-04aca08c5ffd5aa5044c6d4d9a958ffa13800c0f.tar.xz
setup-scripts-04aca08c5ffd5aa5044c6d4d9a958ffa13800c0f.zip
[SSUS] Be more specific when cleaning up old tftp directory
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index b00dfc9..3366c22 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -204,7 +204,7 @@ if [ -n "$TGZ_TFTP" ]; then
[ -e "$TMPDIR/$TGZ_TFTP" ] || perror "$TGZ_TFTP missing from payload"
echo "* TFTP"
echo "Extracting"
- rm -rf -- "$PATH_TFTP"
+ rm -rf -- "$PATH_TFTP/v4" "$PATH_TFTP/v6" "$PATH_TFTP/ipxelinux.0" "$PATH_TFTP/pxelinux.0"
mkdir -p "$PATH_TFTP"
tar -x -C "$PATH_TFTP" -f "$TMPDIR/$TGZ_TFTP" || perror "Could not extract $TGZ_TFTP to $PATH_TFTP"
fixperms "$PATH_TFTP" taskmanager:taskmanager