Skip to content

Commit

Permalink
Protect env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fedepaol committed Jul 24, 2019
1 parent 0371b96 commit 54ea283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [[ $TARGET =~ os-.* ]]; then
export KUBEVIRT_MEMORY_SIZE=6144M
fi

if [[ $TARGET =~ .*sriov.* ]]; then
if [[ "$TARGET" =~ .*sriov.* ]]; then
export KUBEVIRT_NUM_NODES=1 # to be sure the guest lands on the master node
else
export KUBEVIRT_NUM_NODES=2
Expand Down

0 comments on commit 54ea283

Please sign in to comment.