From 2845d14cf5ff67a1e22600cb5eacb5fd988473e4 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 1 Aug 2018 12:02:37 -0700 Subject: Support cloud-config scripts in HEAT template Change-Id: I4deb3a3815885216646ce3d799289c585ba23666 Issue-ID: INT-605 Signed-off-by: Gary Wu --- test/ete/labs/gwu/apt-proxy.sh | 2 +- test/ete/labs/huawei/apt-proxy.sh | 2 +- test/ete/labs/tlab/apt-proxy.sh | 2 +- test/ete/labs/windriver/apt-proxy.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/ete/labs') diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh index 74a180bd0..b2d5d1f01 100755 --- a/test/ete/labs/gwu/apt-proxy.sh +++ b/test/ete/labs/gwu/apt-proxy.sh @@ -1,5 +1,5 @@ #!/bin/bash -sed -i '/#!\/bin\/bash/a\ +sed -i '/^ #!\/bin\/bash/a\ # sleep up to 3 minutes to avoid disk contention\ sleep $((RANDOM / 200))\ mkdir -p /etc/docker\ diff --git a/test/ete/labs/huawei/apt-proxy.sh b/test/ete/labs/huawei/apt-proxy.sh index 6fec3d03e..1e2ccd6c2 100755 --- a/test/ete/labs/huawei/apt-proxy.sh +++ b/test/ete/labs/huawei/apt-proxy.sh @@ -1,5 +1,5 @@ #!/bin/bash -sed -i '/#!\/bin\/bash/a\ +sed -i '/^ #!\/bin\/bash/a\ mkdir -p /etc/docker\ cat > /etc/docker/daemon.json < /etc/docker/daemon.json < /etc/docker/daemon.json <