Skip to content

Commit

Permalink
WIP: test commit to get more information
Browse files Browse the repository at this point in the history
  • Loading branch information
jkonecny12 committed Oct 9, 2024
1 parent f054b40 commit b38358d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/makeupdates
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def createUpdatesImage(cwd, updates):
os.chdir(updates)
os.system("find . | cpio -c -o | pigz -9cv > %s/updates.img" % (cwd,))
sys.stdout.write("updates.img ready\n")
print("--- after updates.img creation ---")
os.system(f"ls -lZ {cwd}/updates.img")
print("-------")


def usage(cmd):
Expand Down
5 changes: 5 additions & 0 deletions test/machine_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ def _write_interactive_defaults_ks(self, updates_image):
os.makedirs(f"{tmp_dir}/{defaults_path}")
# unpack initrd to the temporary directory
os.system(f"cd {tmp_dir} && gzip -dc {updates_image} | cpio -idu")
print("-------")
os.system(f"ls -lZ {updates_image}")
print("-------")
os.system("df -h")
print("-------")
# add new interactive-defaults.ks (have to be available at start of the installer)
with open(f"{tmp_dir}/{defaults_path}/interactive-defaults.ks", "wt", encoding="utf-8") as f:
f.write(content)
Expand Down

0 comments on commit b38358d

Please sign in to comment.