blob: 30bc76e72bd77ab8c4180c7f592558714245c31b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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))
|