Special character in devstack config file

I don't know how the special characters should be escaped when putting into devstack's config files.

For an example, if I have '$' in my password, how should I put it in localrc? I have tested the following which do not work. password=c$b
password="c$b"  edit retag close merge delete 3 answers Sort by » oldest newest most voted Maybe password='c$b' would work too, that should get the shell parsing out of the loop.

more

DevStack configuration parameters are parsed by shell scripts whereas Oslo libraries are used for reading OpenStack configuration files. So you need to escape special characters.

more

I was testing another solution while asking the question. The one works is

I don't know if quotes are necessary.

more

Please start posting anonymously - your entry will be published after you log in or create a new account.