summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--upstart/cloud-run-user-script.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/upstart/cloud-run-user-script.conf b/upstart/cloud-run-user-script.conf
index 31484d01..e4a60bcb 100644
--- a/upstart/cloud-run-user-script.conf
+++ b/upstart/cloud-run-user-script.conf
@@ -10,5 +10,6 @@ task
script
sdir=/var/lib/cloud/data/scripts
[ -d "$sdir" ] || exit 0
-exec cloud-init-run-module once_per_ami user-scripts execute run-parts "$sdir"
+exec cloud-init-run-module once-per-instance user-scripts execute \
+ --regex '.*' run-parts "$sdir"
end script