From: Bartek Grzybowski Date: Tue, 11 Feb 2020 11:52:44 +0000 (+0100) Subject: Disable 'pipefile' shell opt in cloud-init's runcmd module X-Git-Tag: 6.0.0-ONAP~45 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2a4c4776daca85d66e478dd3f6a46a6e250934d0;p=oom%2Foffline-installer.git 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 Issue-ID: OOM-1671 --- 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"}'