Merge "Don't use crudini to get rhn server"
This commit is contained in:
commit
1b35f35954
|
@ -24,7 +24,8 @@ proxy_url=
|
|||
proxy_username=
|
||||
proxy_password=
|
||||
curl_opts="--retry-delay 10 --max-time 30 --retry ${retry_max_count} --cacert /etc/rhsm/ca/redhat-uep.pem"
|
||||
portal_test_url="https://$(crudini --get /etc/rhsm/rhsm.conf server hostname)/subscription/"
|
||||
server=$(grep '^hostname' /etc/rhsm/rhsm.conf | cut -d = -f2 | sed 's/\s//')
|
||||
portal_test_url="https://${server}/subscription/"
|
||||
|
||||
# process variables..
|
||||
if [ -n "${REG_AUTO_ATTACH:-}" ]; then
|
||||
|
|
Loading…
Reference in New Issue