Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test_archinstall.py
blob: 3b5ddcaedb309b744248e5c6520e433b31f75b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)

print(json.dumps(archinstall.args, indent=4))