Commit d7bb8747 authored by Kristopher Ruzic's avatar Kristopher Ruzic

write json to a more suitable directory

parent 7add591d
...@@ -105,7 +105,7 @@ def getSocketStatus(host, port): ...@@ -105,7 +105,7 @@ def getSocketStatus(host, port):
def gen_packer_json(build): def gen_packer_json(build):
import json import json
packer_json = {"builders": [build]} packer_json = {"builders": [build]}
with open(instance_dir + "packer.json", 'w') as outfile: with open(instance_dir + "/packer.json", 'w') as outfile:
json.dump(packer_json, outfile) json.dump(packer_json, outfile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment