1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash set -e set -x # setting hostname, locales, etc hostnamectl set-hostname "archlinux" localectl set-keymap "us" localectl set-x11-keymap "us" timedatectl set-ntp true #setting link to systemd-resolved ln -sf /var/run/systemd/resolve/resolv.conf /etc/resolv.conf