Commit e8b27f95 authored by Maxim Karasev's avatar Maxim Karasev Committed by Natanael Copa
Browse files

setup-user: fix non-interactive handling of ssh keys url

The script referenced the wrong variable.
parent 8b704f5f
Pipeline #126439 passed with stage
in 22 seconds
...@@ -109,7 +109,7 @@ if [ -n "$interactive" ] && [ -z "$keysopt" ]; then ...@@ -109,7 +109,7 @@ if [ -n "$interactive" ] && [ -z "$keysopt" ]; then
else else
case "$keysopt" in case "$keysopt" in
https://*|http://*) https://*|http://*)
sshkeys=$(wget -q -O- "$sshkeys" | grep ^ssh-);; sshkeys=$(wget -q -O- "$keysopt" | grep ^ssh-);;
none) none)
sshkeys="" ;; sshkeys="" ;;
*) *)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment