From 42513d6a44623f9edf64c481a70525d41d18efb7 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 21 Jan 2014 13:22:35 +0100 Subject: setup-arch-vm: install more stuff and copy my dotfiles Signed-off-by: Florian Pritz --- setup-arch-vm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup-arch-vm') diff --git a/setup-arch-vm b/setup-arch-vm index 0c0a275..b722924 100644 --- a/setup-arch-vm +++ b/setup-arch-vm @@ -22,7 +22,7 @@ cat </etc/pacman.d/mirrorlist Server = http://mirror.server-speed.net/\$repo/os/\$arch EOF -pacstrap /mnt base syslinux sudo openssh haveged htop git +pacstrap /mnt base syslinux sudo openssh haveged htop git zsh screen dnsutils genfstab -p /mnt >> /mnt/etc/fstab echo "archvm" > /mnt/etc/hostname ln -s /usr/share/zoneinfo/Europe/Athens /mnt/etc/localtime @@ -70,6 +70,9 @@ chmod 600 /mnt/home/$newuser/.ssh/authorized_keys arch-chroot /mnt chown -R $newuser:users /home/$newuser/.ssh arch-chroot /mnt passwd -d $newuser +curl https://git.server-speed.net/users/flo/bin/plain/init_new_user.sh | arch-chroot /mnt sudo -u $newuser bash +arch-chroot /mnt chsh -s /bin/zsh $newuser + arch-chroot /mnt systemctl enable sshd multi-user.target haveged dhcpcd.service sync -- cgit v1.2.3-24-g4f1b