Remove $ that is not needed in python...

This commit is contained in:
Nico Schottelius 2020-12-20 13:24:55 +01:00
parent 03c0b34446
commit 63191c0a88

View file

@ -40,7 +40,7 @@ def cdist_configure_wireguard_server(config, server):
fd.write(config)
subprocess.run(f"cd ${dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push",
subprocess.run(f"cd {dirname} && git pull && git add {server} && git commit -m 'Updating config for ${server}' && git push",
shell=True)
subprocess.run(f"cdist config -vv {server}", shell=True)