Set default nameservers

Resolves #8

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-11 21:57:06 +02:00
parent b69c3ad56e
commit d557a65eff
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 8 additions and 1 deletions

View file

@ -356,6 +356,11 @@ sudo install -Dm 644 "${SYSTEM_DIR}/etc/mkinitcpio.conf" "/etc/mkinitcpio.conf"
print_log "Copying resolvconf.conf to ${YELLOW}/etc/resolvconf.conf${RESET}"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/resolvconf.conf" "/etc/resolvconf.conf"
print_log "Copying rc-manager.conf to ${YELLOW}/etc/NetworkManager/conf.d${RESET}"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/NetworkManager/conf.d/rc-manager.conf" "/etc/NetworkManager/conf.d"
###############################################################################
# Setting lockscreen image #
###############################################################################

0
system/.local/bin/sync-drive Normal file → Executable file
View file

View file

@ -0,0 +1,2 @@
[main]
rc-manager=resolvconf

View file

@ -1,2 +1,2 @@
resolv_conf=/etc/resolv.conf
name_servers=127.0.0.1
name_servers="127.0.0.1 8.8.8.8"