Skip to content

Commit

Permalink
bootstrap: Use correct syntax to pass args to remote script
Browse files Browse the repository at this point in the history
  • Loading branch information
asdil12 committed Jul 11, 2023
1 parent b7b0a83 commit 1e343cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/openqa-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ su postgres -c "/usr/share/openqa/script/setup-db" "$dbuser" "$dbname"
proxy_args=""
[[ -n "$setup_web_proxy" ]] && proxy_args="--proxy=$setup_web_proxy"
setup=/usr/share/openqa/script/configure-web-proxy
(command -v $setup && sh -ex $setup "$proxy_args") || (curl -s https://raw.githubusercontent.com/os-autoinst/openQA/master/script/configure-web-proxy | bash -ex -s "$proxy_args")
(command -v $setup && sh -ex $setup "$proxy_args") || (curl -s https://raw.githubusercontent.com/os-autoinst/openQA/master/script/configure-web-proxy | bash -ex -s -- "$proxy_args")
sed -i -e 's/#*.*method.*=.*$/method = Fake/' /etc/openqa/openqa.ini


Expand Down

0 comments on commit 1e343cd

Please sign in to comment.