Hide Forgot
this setting has a prefix which includes a % which makes it impossing to do on the command line. Can we have a way to use that setting?
What kind of problems are you seeing with this? sudo src/subscription-manager config --rhsm.repo_ca_cert="(ca_cert_dir)sdfgsdfgsfg" seems to work for me ( value has to be shell quoted, but otherwise works)
The code works for me so long as you put the argument in single quotes or escape the parenthesis with backslashes. But you'd have to do that for any argument anywhere with special characters that the shell tries to interpret. E.g. [root@rhel6-2 subscription-manager]# PYTHONPATH=../python-rhsm/src/:./src src/subscription-manager config --rhsm.repo_ca_cert='%(ca_cert_dir)sfoobar.pem' [root@rhel6-2 subscription-manager]# PYTHONPATH=../python-rhsm/src/:./src src/subscription-manager config --list | grep repo_ca_cert repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem] repo_ca_cert = /etc/rhsm/ca/foobar.pem repo_ca_cert = [/etc/rhsm/ca/redhat-uep.pem]