-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
6.16.0
Description of problem:
Registering RHEL6 host using Global Registration Template fails with "bash: line 32: [: : integer expression expected"
How reproducible:
100%
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Navigate to Hosts --> Register Host
2. Fill the details and Click on Generate
3. Copy the generated Curl command and paste it on client machine
Actual behavior:
- Curl command shows message "bash: line 32: [: : integer expression expected" on RHEL6 client.
~~~
{}# set -o pipefail && curl -sS --insecure 'https://satellite.example.com/register?activation_keys=RHEL6&force=true&ignore_subman_errors=true&location_id=2&organization_id=1&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3MjUyODY5NzcsImp0aSI6IjA5OGNjMjk1N2I5N2Q0ZDZjNDk1NWUyMzdjN2U0MWEzYmE3YjcxNGU0ZTVkNTFjNTFiNTM1Y2JhNDM0OGM5Y2YiLCJleHAiOjE3MjUzMDEzNzcsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.YAMG2tvIc2D1SLA8gnEC2gHGfPcqQxXE9XNNVSviWTY' | bash
bash: line 32: [: : integer expression expected
#
~~~
Expected behavior:
While registering the RHEL6 host it should not displayed the message "bash: line 32: [: : integer expression expected" on RHEL6 client.
Business Impact / Additional info: