Skip to content

Commit

Permalink
Merge pull request #66 from vrothberg/force-register
Browse files Browse the repository at this point in the history
register with `--force`
  • Loading branch information
vrothberg authored Feb 29, 2024
2 parents 6621d49 + 1e8c170 commit 912ebce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/podman-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const PODMAN_COMMANDS = {
RPM_INSTALL_SM: () => 'machine ssh sudo rpm-ostree install -y subscription-manager'.split(' '),
SM_ACTIVATION_STATUS: () => 'machine ssh sudo subscription-manager status'.split(' '),
SM_ACTIVATE_SUBS: (activationKeyName: string, orgId: string) =>
`machine ssh sudo subscription-manager register --activationkey ${activationKeyName} --org ${orgId}`.split(' '),
`machine ssh sudo subscription-manager register --force --activationkey ${activationKeyName} --org ${orgId}`.split(' '),
SM_DEACTIVATE_SUBS: () =>
`machine ssh sudo subscription-manager unregister`.split(' '),
MACHINE_STOP: () => 'machine stop'.split(' '),
Expand Down

0 comments on commit 912ebce

Please sign in to comment.