copr-builders: speedup spawner by disabling RHSM on host
Just an experiment, not sure whether it helps.
This commit is contained in:
parent
fc82478567
commit
0272ed65b0
2 changed files with 8 additions and 0 deletions
|
@ -80,4 +80,5 @@ try_indefinitely subscription-manager register --force \
|
|||
--username "$opt_user" \
|
||||
--password "$opt_pass" \
|
||||
--name "$opt_system"
|
||||
|
||||
try_indefinitely subscription-manager attach --pool "$opt_pool_id"
|
||||
|
|
|
@ -97,6 +97,13 @@
|
|||
when:
|
||||
- preparing_image
|
||||
|
||||
- name: disable subscription manager on host
|
||||
ini_file:
|
||||
dest: /etc/dnf/plugins/subscription-manager.conf
|
||||
section: main
|
||||
option: enabled
|
||||
value: "0"
|
||||
|
||||
- name: install the subscription-manager script
|
||||
copy:
|
||||
src: copr-rh-subscribe.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue