Remove hardcoded /tftpboot/ from token's tftp path
Since file to be fetched from the root tftp directory it shouldn't contain any hardcoded path. Additionaly it eliminates bearing with map-file containing regular expressions for tftp path replacement. Change-Id: Iee1672834f735d7dfefce43000540522e1d053b9 Closes-Bug: #1291533
This commit is contained in:
parent
14140ae180
commit
7d50c04bf7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user