aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh8
-rw-r--r--coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh8
-rw-r--r--coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh10
-rw-r--r--coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh8
4 files changed, 34 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh b/coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh
new file mode 100644
index 00000000..1f17b545
--- /dev/null
+++ b/coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make sure to shut down the machine cleanly when provisioning is done.
+
+# +1 minute delay to make sure that the setup finishes
+# and can clean up before being interrupted by the shutdown
+
+sudo shutdown -h +1
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh b/coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh
new file mode 100644
index 00000000..1f17b545
--- /dev/null
+++ b/coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make sure to shut down the machine cleanly when provisioning is done.
+
+# +1 minute delay to make sure that the setup finishes
+# and can clean up before being interrupted by the shutdown
+
+sudo shutdown -h +1
diff --git a/coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh b/coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh
new file mode 100644
index 00000000..73e5efa7
--- /dev/null
+++ b/coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# OS X 10.8 and VMWare tools don't play well together.
+# The shutdown command fails, so just shut down the machine
+# manually when provisioning is done.
+
+# +1 minute delay to make sure that the setup finishes
+# and can clean up before being interrupted by the shutdown
+
+sudo shutdown -h +1
diff --git a/coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh b/coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh
new file mode 100644
index 00000000..1f17b545
--- /dev/null
+++ b/coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make sure to shut down the machine cleanly when provisioning is done.
+
+# +1 minute delay to make sure that the setup finishes
+# and can clean up before being interrupted by the shutdown
+
+sudo shutdown -h +1