commit | d481875778a59e37ef89945c1b5aeb85b34fb703 | [log] [tgz] |
---|---|---|
author | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Fri May 24 19:14:17 2019 +0400 |
committer | Ivan Berezovskiy <iberezovskiy@mirantis.com> | Fri May 24 19:28:20 2019 +0400 |
tree | 1b28789cb735763f34ff63f1fecfbf76d5fed0e0 | |
parent | 1e66f5031eb851950f69ada07b7ad27db9670cd5 [diff] |
Add quotes around bash value PROD-30560 Change-Id: Iaed55a89462cfa3c5744c5517abfb5ca83a83c1c
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy index 9d4b146..d4be6cc 100644 --- a/generate-cookiecutter-products.groovy +++ b/generate-cookiecutter-products.groovy
@@ -362,7 +362,7 @@ } for (i in common.entries(smc)) { - sh "sed -i 's,${i[0]}=.*,${i[0]}=${i[1]},' user_data" + sh "sed -i 's,export ${i[0]}=.*,export ${i[0]}=\"${i[1]}\",' user_data" } // calculate netmask