diff options
author | 2021-12-16 10:35:22 -0600 | |
---|---|---|
committer | 2021-12-16 10:35:22 -0600 | |
commit | 53de71dbec29a62c44238f1569c10254dba08b02 (patch) | |
tree | 50a085c18c7d81aefe209405bafe7b39525a7773 /jenkins-config/managed-config-files/openstackUserData | |
parent | e3130de5760d96d6c068589bbe316731a2800b61 (diff) |
Fix: Escape dollar sign in jenkins-init-script
Issue-ID: CIMAN-33
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: I6f64bbc796ba41557b17975c3d721e832f7a9cd0
Diffstat (limited to 'jenkins-config/managed-config-files/openstackUserData')
-rw-r--r-- | jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content index 9f9c16f00..ddbf96a07 100644 --- a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content +++ b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content @@ -10,4 +10,4 @@ IPADDR=$(facter ipaddress) HOSTNAME=$(facter hostname) FQDN=$(facter fqdn) -echo "${IPADDR} ${HOSTNAME} ${FQDN}" >> /etc/hosts +echo "^${IPADDR} ^${HOSTNAME} ^${FQDN}" >> /etc/hosts |