aboutsummarylogtreecommitdiffstats
path: root/arch.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch.install')
-rwxr-xr-xarch.install18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch.install b/arch.install
index a1acf690b6c2..862f4dfd7f1d 100755
--- a/arch.install
+++ b/arch.install
@@ -32,8 +32,8 @@ pushd ${mnt}
install -d boot
mount ${loop}p1 boot
-setarch ${arch} pacstrap -C /usr/share/devtools/pacman-extra.conf -c . base base-devel syslinux openssh sudo haveged
-systemctl --root=. enable systemd-{networkd,resolved} sshd haveged
+setarch ${arch} pacstrap -C /usr/share/devtools/pacman-extra.conf -c . base base-devel pacman-contrib haveged openssh sudo syslinux
+systemctl --root=. enable systemd-{networkd,resolved} haveged sshd
ln -sf ../run/systemd/resolve/resolv.conf etc/resolv.conf
@@ -56,13 +56,6 @@ LABEL=boot /boot ext2 defaults 0 1
LABEL=root / ext4 defaults 0 1
EOF
-cat > etc/systemd/network/any.network <<EOF
-[Match]
-
-[Network]
-DHCP=yes
-EOF
-
cat > etc/hostname <<EOF
guest
EOF
@@ -75,6 +68,13 @@ cat > etc/sudoers.d/user <<EOF
user ALL=(ALL) NOPASSWD: ALL
EOF
+cat > etc/systemd/network/any.network <<EOF
+[Match]
+
+[Network]
+DHCP=yes
+EOF
+
setarch ${arch} arch-chroot . <<EOF
syslinux-install_update -i -m
mkinitcpio -p linux