still working on ipxe

This commit is contained in:
2021-01-21 18:15:20 -05:00
parent 084a0fca69
commit 4f7c370499
9 changed files with 466 additions and 257 deletions

View File

@@ -79,7 +79,6 @@ class Updater(_base.BaseUpdater):
self.do_update = True
self.force_update = True
self.old_ver = 0.00
self.variant = 'full'
return(None)
with open(self.dest_ver, 'rb') as fh:
ver_info = json.load(fh)
@@ -153,6 +152,7 @@ class Updater(_base.BaseUpdater):
with open(self.dest_ver, 'w') as fh:
fh.write(j)
fh.write('\n')
os.chmod(self.dest_ver, 0o0644)
return(None)