Escape single quotes and allow for any character in node description

This commit is contained in:
William Wernert committed 2021-10-25 10:48:09 -04:00
1 parent d5d970672d
commit 6e34905b42
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1509,7 +1509,7 @@ host_pillar() {
" mainint: '$MNIC'"\
"sensoroni:"\
" node_address: '$MAINIP'"\
" node_description: '$NODE_DESCRIPTION'"\
" node_description: '${NODE_DESCRIPTION//\'/''}'"\
"" > "$pillar_file"
}