summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-11-04 22:32:26 -0400
committerJesse Luehrs <doy@tozt.net>2017-11-04 22:32:26 -0400
commit80f62b92f7f93246bdbb56ff4bbdf19ff321d814 (patch)
tree9bf73feef4d40d2e4d4873d71def3332723548b5
parentd939b109493ab6d6ef6530c3347cc0055869537e (diff)
downloadpuppet-tozt-80f62b92f7f93246bdbb56ff4bbdf19ff321d814.tar.gz
puppet-tozt-80f62b92f7f93246bdbb56ff4bbdf19ff321d814.zip
move the debian-to-arch script to a submodule
-rw-r--r--.gitmodules3
-rwxr-xr-xbootstrap7
m---------digitalocean-debian-to-arch0
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
diff --git a/bootstrap b/bootstrap
index 806e5b2..0bcb5b4 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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