Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test_archinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_archinstall.py')
-rw-r--r--test_archinstall.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test_archinstall.py b/test_archinstall.py
new file mode 100644
index 00000000..30bc76e7
--- /dev/null
+++ b/test_archinstall.py
@@ -0,0 +1,14 @@
+import json
+import archinstall
+
+archinstall.update_drive_list(emulate=False)
+archinstall.setup_args_defaults(archinstall.args, interactive=False)
+#for drive in archinstall.harddrives:
+# print(drive, archinstall.human_disk_info(drive))
+
+instructions = archinstall.load_automatic_instructions(emulate=False)
+profile_instructions = archinstall.get_instructions('workstation', emulate=False)
+profile_instructions = archinstall.merge_in_includes(profile_instructions, emulate=False)
+archinstall.args['password'] = 'test'
+
+print(json.dumps(archinstall.args, indent=4)) \ No newline at end of file