summaryrefslogtreecommitdiff
path: root/provision/postinstall.sh
blob: be094e47eddad78d20dde03bad487936ef1eb60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e
set -x

# setting hostname, locales, etc
hostnamectl set-hostname "archlinux"
localectl set-locale "LANG=en_US.UTF-8"
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