Skip to content

Commit

Permalink
wahoo
Browse files Browse the repository at this point in the history
  • Loading branch information
edmc-ss committed Feb 29, 2024
1 parent cfa6425 commit 3a51fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iclient/iclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AuthToken=""
while [ "$AuthToken" == "" ]
do
sleep 1
AuthToken=`curl -v -s -H "X-Auth-User: test:tester" -H "X-Auth-Key: testing" swift:8080/auth/v1.0 2>&1 | awk /"X-Auth-Token:"/'{print $3}'`
AuthToken=`curl -v -s -H "X-Auth-User: test:tester" -H "X-Auth-Key: testing" swift:8080/auth/v1.0 2>&1 | awk /"X-Auth-Token:"/'{print $3}' | tr -d '\r'`
done

curl -v -s -H "X-Auth-Token: $AuthToken" swift:8080/v1/AUTH_test/con -X PUT
Expand Down
2 changes: 1 addition & 1 deletion imgr/mkmount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AuthToken=""
while [ "$AuthToken" == "" ]
do
sleep 1
AuthToken=`curl -v -s -H "X-Auth-User: test:tester" -H "X-Auth-Key: testing" swift:8080/auth/v1.0 2>&1 | awk /"X-Auth-Token:"/'{print $3}'`
AuthToken=`curl -v -s -H "X-Auth-User: test:tester" -H "X-Auth-Key: testing" swift:8080/auth/v1.0 2>&1 | awk /"X-Auth-Token:"/'{print $3}' | tr -d '\r'`
done

echo
Expand Down

0 comments on commit 3a51fc5

Please sign in to comment.