diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-01-21 13:22:35 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-01-21 13:22:35 +0100 |
commit | 42513d6a44623f9edf64c481a70525d41d18efb7 (patch) | |
tree | 2e2df743ac76f7eb7734c7abebf0863e6a13e392 /setup-arch-vm | |
parent | cd6224ff639b9260a110e4ea8bb7a6bab7b857ba (diff) | |
download | bin-42513d6a44623f9edf64c481a70525d41d18efb7.tar.gz bin-42513d6a44623f9edf64c481a70525d41d18efb7.tar.xz |
setup-arch-vm: install more stuff and copy my dotfiles
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'setup-arch-vm')
-rw-r--r-- | setup-arch-vm | 5 |
1 files changed, 4 insertions, 1 deletions
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 <<EOF >/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 |