fix(bootstrap): unify resolv.conf to live environment DNS symlink

This commit is contained in:
2026-02-20 20:12:42 +01:00
parent 23a798a63a
commit 42cb5071c2
10 changed files with 7 additions and 75 deletions

View File

@@ -39,3 +39,10 @@
void: void.yml
bootstrap_var_key: "{{ 'bootstrap_' + (os | replace('-lts', '') | replace('-', '_')) }}"
ansible.builtin.include_tasks: "{{ bootstrap_os_task_map[os] }}"
- name: Ensure chroot uses live environment DNS
ansible.builtin.file:
src: /run/NetworkManager/resolv.conf
dest: /mnt/etc/resolv.conf
state: link
force: true