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:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-27 20:39:45 +0000
committerGitHub <noreply@github.com>2019-11-27 20:39:45 +0000
commit434daeae6840c123cc8c8c3f6feb6f0e8ea50b8a (patch)
tree7cc0ec0ceb88b0c9fe86a51ff922f075458b9d3e /test_archinstall.py
parent96c63c9bc0be8a1f5fc003935af19923a4bc1e19 (diff)
parentbc154eacbe983231282d83e7ee5ae40c6128f026 (diff)
Merge pull request #30 from Torxed/cleanup
Cleanup & Features
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