Make qemu.sh executable

master
LEdoian 3 years ago
parent dc95ade8a0
commit 1247948259

@ -36,6 +36,8 @@ class Computer:
template = environment.get_template(f) template = environment.get_template(f)
(Path('output') / self.name).mkdir(parents=True,exist_ok=True) (Path('output') / self.name).mkdir(parents=True,exist_ok=True)
template.stream(context).dump('output/' + self.name + '/' + f) template.stream(context).dump('output/' + self.name + '/' + f)
mode = os.stat('output/' + self.name + '/qemu.sh').st_mode
os.chmod('output/' + self.name + '/qemu.sh', mode | 0o0100)
# Computers: # Computers:
comps = {} comps = {}

Loading…
Cancel
Save