Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
e5128f1d
Commit
e5128f1d
authored
Mar 20, 2019
by
Evangelos Foutras
🐱
Browse files
install_arch: preserve stock nsswitch.conf
Leaving "dns" out of "hosts" breaks DNS lookups when resolved is stopped.
parent
282266d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/install_arch/tasks/main.yml
View file @
e5128f1d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment