copr-builders: remove OSUOSL DNS hack

We were informed that the broken DNS server was removed from the DHCP
configuration.
This commit is contained in:
Pavel Raiskup 2022-02-03 07:16:16 +01:00
parent b388a003b4
commit 685ceae405

View file

@ -8,15 +8,6 @@
- "'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