From 6bd649fc4b74d10e183531cd046ee7872fedb40e Mon Sep 17 00:00:00 2001 From: Christian Rebischke Date: Sun, 7 May 2017 21:26:42 +0200 Subject: Different enhancements added polkit to pacstrap for systemctl poweroff, added sudo to poweroff command, moved link for systemd-resolved to postinstall.sh --- http/install-chroot.sh | 3 --- http/install.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'http') 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" -- cgit v1.2.3-70-g09d2