diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rwxr-xr-x | bootstrap | 7 | ||||
m--------- | digitalocean-debian-to-arch | 0 |
3 files changed, 8 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..eb07f91 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "digitalocean-debian-to-arch"] + path = digitalocean-debian-to-arch + url = git://github.com/gh2o/digitalocean-debian-to-arch @@ -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 diff --git a/digitalocean-debian-to-arch b/digitalocean-debian-to-arch new file mode 160000 +Subproject 86df6546bd5e33955d95afc7c3c4726ad378ab7 |