Merge pull request #30 from Torxed/cleanup

Cleanup & Features
This commit is contained in:
Anton Hvornum 2019-11-27 20:39:45 +00:00 committed by GitHub
commit 434daeae68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 781 additions and 440 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
**/**__pycache__
SAFETY_LOCK

File diff suppressed because it is too large Load Diff

14
test_archinstall.py Normal file
View File

@ -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))