diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-11-04 22:32:26 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-11-04 22:32:26 -0400 |
commit | 80f62b92f7f93246bdbb56ff4bbdf19ff321d814 (patch) | |
tree | 9bf73feef4d40d2e4d4873d71def3332723548b5 /bootstrap | |
parent | d939b109493ab6d6ef6530c3347cc0055869537e (diff) | |
download | puppet-tozt-80f62b92f7f93246bdbb56ff4bbdf19ff321d814.tar.gz puppet-tozt-80f62b92f7f93246bdbb56ff4bbdf19ff321d814.zip |
move the debian-to-arch script to a submodule
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5,8 +5,11 @@ set -o pipefail host="$1" if ssh root@$host test ! -e /usr/bin/pacman; then - ssh root@$host wget https://raw.githubusercontent.com/gh2o/digitalocean-debian-to-arch/debian9/install.sh -O install.sh - ssh root@$host bash install.sh --i_understand_that_this_droplet_will_be_completely_wiped + ssh root@$host apt-get -y update + ssh root@$host apt-get -y install git + ssh root@$host "cd /tmp && git clone git://github.com/doy/bootstrap-tozt" + ssh root@$host "cd /tmp/bootstrap-tozt && git submodule update --init" + ssh root@$host "cd /tmp/bootstrap-tozt/digitalocean-debian-to-arch && bash install.sh --i_understand_that_this_droplet_will_be_completely_wiped" sleep 30 fi |