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

@@ -6,13 +6,6 @@
lookup('vars', bootstrap_var_key) | reject('equalto', '') | join(' ')
}}
block:
- name: Ensure chroot has resolv.conf
ansible.builtin.file:
src: /run/NetworkManager/resolv.conf
dest: /mnt/etc/resolv.conf
state: link
force: true
- name: Install Alpine Linux packages
ansible.builtin.command: >
apk --root /mnt --no-cache add alpine-base