summaryrefslogtreecommitdiffstats
path: root/tools/cicdansible
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 12:52:44 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 12:56:16 +0100
commit2a4c4776daca85d66e478dd3f6a46a6e250934d0 (patch)
tree7d015fd7fabc0b9e8dea13ff5d69342ffcd674d3 /tools/cicdansible
parent711a2cc42376472c6788bf2d18bf31f39792e556 (diff)
Disable 'pipefile' shell opt in cloud-init's runcmd module
Cloud-init runs runcmd module with default OS shell which evaluates to dash for Ubuntu and which in turn doesn't support 'pipefile' option. This makes cloud-init fail the module on Ubuntu OS. In runcmd script there are no pipes so it's safe to remove it from shell opts. Change-Id: I0402fbfe13fe528832e64d107c1bc07bb5516fc2 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1671
Diffstat (limited to 'tools/cicdansible')
-rw-r--r--tools/cicdansible/heat/config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cicdansible/heat/config.yaml b/tools/cicdansible/heat/config.yaml
index e1f0309f..0521d72e 100644
--- a/tools/cicdansible/heat/config.yaml
+++ b/tools/cicdansible/heat/config.yaml
@@ -6,5 +6,5 @@ output: { all: "/dev/console" }
#Initialization.
runcmd:
- |
- set -efxu -o pipefail
+ set -efxu
%{NOTIFY_COMMAND} --data-binary '{"status": "SUCCESS", "reason": "instance started successfully"}'