I have an environment variable:
export qua="key={1234}"
How do I call $qua from within a Bash script that is running a Chocolatey command?
#!/bin/bash
salt computername chocolatey.install qualys install_args='"\"$qua\""'
I cannot get Chocolatey to read the environment variable properly. I have also tried:
install_args='"$qua"'
and
install_args=$qua
The command works if I run:
#!/bin/bash
salt computername chocolatey.install qualys install_args="key={1234}"