Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
AgeCommit message (Collapse)Author
2020-08-20Added the HTTPS POST for a successful build to the unattended test build.Anton Hvornum
2020-08-20Added a unattended installer. Fixed list_profiles() to not include .py ↵Anton Hvornum
ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
2020-08-20Starting to add networking helpers in archinstall. First up is ↵Anton Hvornum
archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given.
2020-08-05Removed support entirely for .json. Cleaning up the Profile() class **a ↵Anton Hvornum
lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Fixed description supportAnton Hvornum
2020-08-04Added a debugAnton Hvornum
2020-08-04Adding description handling in profiles.Anton Hvornum
2020-08-04elif mixupAnton Hvornum
2020-08-04Added a list_profiles() function, that lists all current local profiles. ↵Anton Hvornum
Also removed support for .json as it's redundant for the future.
2020-07-22New feature: application profiles now support .py as well. Also fixed a ↵Anton Hvornum
sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)
2020-07-08v2.0.3 prep release. Profile now fully support python scripting instead of ↵Anton Hvornum
JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff
2020-07-08Added support for .py profiles. Added a simple 'desktop.py' for now that is ↵Anton Hvornum
just a mock to make sure it's working.
2020-07-07Added colored output. Also tested non-encrypted installations and added ext4 ↵Anton Hvornum
support.
2020-07-06Prepped readme for pypi. Also updated setup.py to reflect a better project ↵Anton Hvornum
name when uploading to pypi.
2020-07-06Renaming deployments to profilesAnton Hvornum
2020-07-06Renaming deployments to profilesAnton Hvornum
2020-07-06Reworked final preparations for working with profiles and installing them.Anton Hvornum