commit f6f9f665fa53b020272187e212878dbf59d86d1e parent d0b69dae41bb7290e30690ad6ca5df383c4582f8 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Thu, 11 Aug 2022 15:22:20 +0200 Allow removing stray resolv.conf Diffstat:
M | zsh-functions/confz_containers_init | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -521,7 +521,8 @@ confz_container_generic_layout_check() { require fs_m filename="$vars[root]/etc" mode=0755 require fs_o filename="$vars[root]/etc" owner=$vars[uid]:$vars[gid] - require fs_l filename="$vars[root]/etc/resolv.conf" destination="../run/resolv.conf" + require fs_l filename="$vars[root]/etc/resolv.conf" \ + flags=\! destination="../run/resolv.conf" require fs_d filename="$vars[root]/dev" require fs_m filename="$vars[root]/dev" mode=0755