Fix automated install after bootstrapping
This commit is contained in:
@@ -11,11 +11,11 @@ git clone --recursive https://code.hkoerber.de/hannes/dotfiles.git
|
|||||||
./dotfiles/install_scripts/ares.sh /dev/sda
|
./dotfiles/install_scripts/ares.sh /dev/sda
|
||||||
|
|
||||||
mv /root/dotfiles /mnt/root/dotfiles
|
mv /root/dotfiles /mnt/root/dotfiles
|
||||||
cat << EOF > /mnt/root/.bashrc
|
cat << EOF > /mnt/root/.bash_profile
|
||||||
set -o errexit
|
if /root/dotfiles/install.sh ; then
|
||||||
/root/dotfiles/install.sh
|
rm -f /root/.bash_profile
|
||||||
rm /root/.bashrc
|
reboot
|
||||||
reboot
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
umount -R /mnt
|
umount -R /mnt
|
||||||
|
|||||||
Reference in New Issue
Block a user