Merge "Remove hardcoded /tftpboot/ from token's tftp path"

This commit is contained in:
Jenkins 2014-04-08 17:24:59 +00:00 committed by Gerrit Code Review
commit 0fc211a82a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fi
TOKEN_FILE=token-$DEPLOYMENT_ID
if tftp -r /tftpboot/$TOKEN_FILE -g $BOOT_SERVER
if tftp -r $TOKEN_FILE -g $BOOT_SERVER
then TOKEN_HEADER="-H 'X-Auth-Token: `cat $TOKEN_FILE`'"
else TOKEN_HEADER=""
fi