copr: login as "fedora" user instead of root
Otherwise we get following error Please login as the user "fedora" rather than the user "root". Which messes up our variables - `$fedora` contains the `Please login as the user "fedora" rather than the user "root".` warning and therefore `new_volume_name` is copr-builder-x86_64-fPlease login as the user "fedora" rather than the user "root".-20201101_155103
This commit is contained in:
parent
7d32a58788
commit
4f97eae38b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ test -n "$vm_name"
|
|||
ip=$(sed -n 's/.*VM_IP=\([0-9\.]\+\).*/\1/p' "$logfile" | head -1)
|
||||
test -n "$ip"
|
||||
|
||||
fedora=$(ssh "root@$ip" 'rpm --eval %fedora')
|
||||
fedora=$(ssh "fedora@$ip" 'rpm --eval %fedora')
|
||||
|
||||
new_volume_name="copr-builder-$arch-f$fedora-$(date +"%Y%m%d_%H%M%S")"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue