summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorChristian Rebischke <Chris.Rebischke@posteo.de>2017-05-07 21:26:42 +0200
committerChristian Rebischke <Chris.Rebischke@posteo.de>2017-05-07 21:26:42 +0200
commit6bd649fc4b74d10e183531cd046ee7872fedb40e (patch)
tree42d7ad54398e3596cb7a13d6ae965f1d6e1420be /http
parenta7c15082fcc29f56911e0a36af4133b73e1c9e26 (diff)
downloadarch-boxes32-6bd649fc4b74d10e183531cd046ee7872fedb40e.tar.xz
Different enhancements
added polkit to pacstrap for systemctl poweroff, added sudo to poweroff command, moved link for systemd-resolved to postinstall.sh
Diffstat (limited to 'http')
-rw-r--r--http/install-chroot.sh3
-rw-r--r--http/install.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/http/install-chroot.sh b/http/install-chroot.sh
index af83213..28e4921 100644
--- a/http/install-chroot.sh
+++ b/http/install-chroot.sh
@@ -37,9 +37,6 @@ Name=eth0
DHCP=ipv4
EOF
-systemctl start systemd-resolved
-ln -sf /var/run/systemd/resolve/resolv.conf /etc/resolv.conf
-
# enabling important services
systemctl enable sshd
systemctl enable systemd-networkd
diff --git a/http/install.sh b/http/install.sh
index 9c8007b..682bdd5 100644
--- a/http/install.sh
+++ b/http/install.sh
@@ -28,7 +28,7 @@ mount "${device}2" /mnt
cp /etc/pacman.d/mirrorlist /tmp/mirrorlist.backup
sed -i 's/^#Server/Server/' /tmp/mirrorlist.backup
rankmirrors -vn 6 /tmp/mirrorlist.backup > /etc/pacman.d/mirrorlist
-pacstrap /mnt base grub openssh sudo
+pacstrap /mnt base grub openssh sudo polkit
swapon "${device}1"
genfstab -p /mnt >> /mnt/etc/fstab
swapoff "${device}1"