diff options
author | Simon Rettberg | 2016-02-23 11:13:15 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-02-23 11:13:55 +0100 |
commit | 04aca08c5ffd5aa5044c6d4d9a958ffa13800c0f (patch) | |
tree | 6bd8846fa9c3482b9e6367cf4bfab934e03b3bd7 /satellit_upgrader | |
parent | Add ipxe (diff) | |
download | setup-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.sh | 2 |
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 |