Add install script for ares
This commit is contained in:
21
install_scripts/ares-bootstrap.sh
Executable file
21
install_scripts/ares-bootstrap.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o nounset
|
||||
set -o errexit
|
||||
|
||||
pacman -Sy --noconfirm git # yes its a partial upgrade, but thats just the live cd
|
||||
|
||||
cd /root
|
||||
git clone --recursive https://code.hkoerber.de/hannes/dotfiles.git
|
||||
|
||||
./dotfiles/install_scripts/ares.sh /dev/sda
|
||||
|
||||
mv /root/dotfiles /mnt/root/dotfiles
|
||||
cat << EOF > /mnt/root/.bashrc
|
||||
set -o errexit
|
||||
/root/dotfiles/bootstrap.sh
|
||||
rm /root/.bashrc
|
||||
reboot
|
||||
EOF
|
||||
|
||||
poweroff
|
||||
Reference in New Issue
Block a user