From 2a4c4776daca85d66e478dd3f6a46a6e250934d0 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 11 Feb 2020 12:52:44 +0100 Subject: 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 --- tools/cicdansible/heat/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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"}' -- cgit 1.2.3-korg