copr-builders: the DNS hack is still needed
Without this, it takes 5+ minutes to get the Red Hat subscription.
Revert "copr-builders: remove OSUOSL DNS hack"
This reverts commit 685ceae405
.
This commit is contained in:
parent
685ceae405
commit
74d86b0011
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@
|
|||
- "'s390x' in lookup('env', 'RESALLOC_NAME')"
|
||||
- copr_builder_fedora_version == 34
|
||||
|
||||
- name: drop extremely slow libvirt resolver
|
||||
lineinfile:
|
||||
dest: /etc/resolv.conf
|
||||
regexp: 'nameserver 192.168.122.1'
|
||||
state: 'absent'
|
||||
when:
|
||||
- prepare_base_image is not defined
|
||||
- "'osuosl' in lookup('env', 'RESALLOC_NAME')"
|
||||
|
||||
- name: setup the hostname so we can easily identify the box
|
||||
hostname: name="{{ lookup('env', 'RESALLOC_NAME') | default('unknown-builder') | replace('_', '-') }}"
|
||||
when: prepare_base_image is not defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue