We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c138fb8 commit 5b582c5Copy full SHA for 5b582c5
utils.sh
@@ -133,7 +133,8 @@ get_openstack_option_value () {
133
CONFIG_FILE_PATH=$4
134
135
# Return an empty result if the value is not found
136
- run_ssh_cmd_with_retry $SSHUSER_HOST "crudini --get $CONFIG_FILE_PATH $SECTION_NAME $OPTION_NAME 2> /dev/null || if [ \"\$?\" == \"1\" ]; then true; else false; fi"
+ # TODO: improve the hack that removes the trailing '\r\n'
137
+ run_ssh_cmd_with_retry $SSHUSER_HOST "crudini --get $CONFIG_FILE_PATH $SECTION_NAME $OPTION_NAME 2> /dev/null || if [ \"\$?\" == \"1\" ]; then true; else false; fi" | tr -d '\r'
138
}
139
140
configure_ssh_pubkey_auth () {
0 commit comments