Commit e5128f1d authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

install_arch: preserve stock nsswitch.conf

Leaving "dns" out of "hosts" breaks DNS lookups when resolved is
stopped.
parent 282266d4
......@@ -149,12 +149,6 @@
- name: configure grub
command: chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
- name: configure nss
lineinfile:
dest: /mnt/etc/nsswitch.conf
regexp: '^hosts:'
line: 'hosts: files mymachines resolve myhostname'
- name: enable services inside chroot
command: chroot /mnt systemctl enable sshd systemd-networkd systemd-resolved fstrim
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment