aboutsummaryrefslogtreecommitdiff
path: root/test/integ-test/integ-test-configs/static/bootstrap.sh
diff options
context:
space:
mode:
authorRaúl Benencia <raul@thousandeyes.com>2018-04-13 16:30:31 -0700
committerRaúl Benencia <raul@thousandeyes.com>2018-05-11 15:02:34 -0700
commit77c172b823b64ebface655681ab0749b9d2f7081 (patch)
tree09c13e626eb95ae1d33e76ed683172eab1ab6c96 /test/integ-test/integ-test-configs/static/bootstrap.sh
First public commit
Diffstat (limited to 'test/integ-test/integ-test-configs/static/bootstrap.sh')
-rw-r--r--test/integ-test/integ-test-configs/static/bootstrap.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integ-test/integ-test-configs/static/bootstrap.sh b/test/integ-test/integ-test-configs/static/bootstrap.sh
new file mode 100644
index 0000000..847ae99
--- /dev/null
+++ b/test/integ-test/integ-test-configs/static/bootstrap.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+export DEBIAN_FRONTEND=noninteractive
+
+echo Example boostrap configuration
+apt-get install hello
+
+echo '#!/bin/sh
+exit 0' > /etc/rc.local
+
+# Don't want to run this accidentally.
+chmod 0 /usr/local/sbin/bootstrap
nihil fit ex nihilo