Commit fda5078
committed
Disable subscription-manager container mode detection during registration
Remove the /etc/rhsm-host symlink before calling subscription-manager
register so that it does not detect container mode and exit with
status 78. subscription-manager checks for /etc/rhsm-host (a symlink
to ../run/secrets/rhsm) to determine if it is running inside a
container.1 parent c43fbc3 commit fda5078
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| |||
0 commit comments