]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Modifying .gitlab-ci.yml for output of generated config file
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Jun 2020 09:19:46 +0000 (11:19 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Jun 2020 09:19:46 +0000 (11:19 +0200)
.gitlab-ci.yml

index 88a82df30721afadab7eec6f9748432151554803..5a490dcb5e6af8b811e1d2bb8efd9152ba044d5a 100644 (file)
@@ -179,7 +179,12 @@ Create Centos8 template:
     - 'echo "max_wait_for_finish_install = ${MAX_WAIT_FOR_FINISH_INSTALL}" >> "${CONFIG_FILE}"'
     - 'echo "" >> "${CONFIG_FILE}"'
     - 'echo "; vim: filetype=dosini" >> "${CONFIG_FILE}"'
-    - 'echo "Generated ${CONFIG_FILE}:"; ls -l "${CONFIG_FILE}" || true; echo; cat "${CONFIG_FILE}" | sed -e "s/^\(password|root_password\) .*/\1 = ********/"; echo "<-- EOF"'
+    - 'echo "Generated ${CONFIG_FILE}:";
+       ls -l "${CONFIG_FILE}" || true;
+       echo;
+       echo "-->";
+       cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/"-e "s/^\(password\) .*/\1 = ********/";
+       echo "<-- EOF"'
   environment:
     name: ${SYSTEM_STATUS}
   except: