diff options
author | James Slagle <jslagle@redhat.com> | 2016-03-22 17:26:42 -0400 |
---|---|---|
committer | James Slagle <jslagle@redhat.com> | 2016-03-23 10:20:16 -0400 |
commit | 51170114683e6d986b32aced253e5ebcf47fdedc (patch) | |
tree | 533f5767c713cbae995db5cd07c6916190f3d83e /extraconfig/tasks/major_upgrade_compute.sh | |
parent | 7ac441f019214e465a8e26fe03074b9ebd479034 (diff) |
Fix satellite registration for http or https
If the satellite registration url was specified with https, the curl
command to detect the satellite version would not work as expected since
-L was not passed and you get redirected to https when testing the ping
api.
To additionally handle the case where https is specified, also use curl
directly with -k to download the configuration rpm instead of using rpm
with a url.
Fixes another bug with a missing $ in the reference to the
$satellite_version variable.
Change-Id: I984fdfc415eeeed4ef29cc8d0812e1b67545d6b1
Diffstat (limited to 'extraconfig/tasks/major_upgrade_compute.sh')
0 files changed, 0 insertions, 0 deletions