Remove $ that is not needed in python...
This commit is contained in:
parent
03c0b34446
commit
63191c0a88
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue