Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
AgeCommit message (Collapse)Author
2021-06-10added --dry-run flag (#570)Yash Tripathi
* added --dry-run flag
2021-06-02Clean up graphics driver outputDylan Taylor
2021-06-02Add graphics device listingDylan Taylor
2021-06-02Add hardware logging to beginning of installationDylan Taylor
2021-05-28 added support for setting profile to a dict or a string in configYash Tripathi
2021-05-28added support for setting mirror-region to a dict or a string in configYash Tripathi
2021-05-27Needed to set file mode to write.Dylan M. Taylor
2021-05-27Write user configuration JSON to a file in logs directoryDylan Taylor
2021-05-27Add descriptions for top-level profilesDylan M. Taylor
2021-05-24removed builtins usage and added gfx_package key in configYash Tripathi
2021-05-23Made sure NTP matches the default value when 'skipped'.Anton Hvornum
2021-05-23added pulling sys-language and sys-encoding from configYash Tripathi
2021-05-23fixed pulling mirror-region from configYash Tripathi
2021-05-23updated mirror-region config key to use value directlyYash Tripathi
2021-05-22Fix issue from language selection.Anton Hvornum
2021-05-22Fix issue from language selection.Anton Hvornum
2021-05-22Re-worked the select_profile() user interaction. It no longer takes options ↵Anton Hvornum
as a parameter, instead it sources the profiles available, prints a curated list but allows for any input that is a valid profile.
2021-05-22Added in the option to select system locale if --advance is given to guided, ↵Anton Hvornum
as it does potentially cause issues in the installation if not configured properly
2021-05-22Rephrased according to @dylan's suggestions.Anton Hvornum
2021-05-22Made NTP question only on timezone for now.Anton Hvornum
2021-05-22Added a information that ntp might require some additional tinkering to work ↵Anton Hvornum
perfectly.
2021-05-22Adding a NTP option to syncronize time.Anton Hvornum
2021-05-22Added in a are-we-root check at the top of guided.Anton Hvornum
2021-05-21Add ability to provide an array of services to enable in config fileDylan Taylor
2021-05-20fallback added for when profile is null/emptyYash Tripathi
2021-05-20Re-add profile importDylan Taylor
2021-05-20fixed creating profile object if profile is passed in varsYash Tripathi
2021-05-20Use {installation.target} in custom commands handlerDylan Taylor
2021-05-20Extract custom-commands function into general.pyDylan Taylor
2021-05-20Clean up temp files after they are runDylan Taylor
2021-05-20Add logging of execution output Dylan Taylor
2021-05-20Switch back to arch-chrootDylan Taylor
This reverts commit 27fa5119145ffdc50b7aff400315dc7a82a8cc29.
2021-05-20Use temporary script filesDylan M. Taylor
Path will be different inside of target env.
2021-05-20Swapped the instance sent to Boot()Anton Hvornum
2021-05-20changed "desktop" to "profile" while loading configYash Tripathi
2021-05-20Merge branch 'master' into post-installation-scriptsDylan Taylor
2021-05-20fixed desktop install from configYash Tripathi
2021-05-19Update guided.pyYash Tripathi
2021-05-19Try to use the new systemd-nspawn code pathsDylan Taylor
2021-05-19Run custom commands within bash sessionDylan M. Taylor
2021-05-19Iterate over custom-command arrayDylan M. Taylor
2021-05-19Added support for getting configuration from a config file (#364)Yash Tripathi
* added support for ingesting config * fixed condition to check key in dictionary * Removed redundant code, profile and desktop keys are now optional * Added base-config.json and support for pulling credentials from .env * added base config file and env file for users credentials * added silent install switch * added python-dotenv as a dependency * Updated Readme to include argparse changes as well as config ingestion * Updated Readme to include argparse changes as well as config ingestion * fixed typo in pyproject.toml * Replaced the magic __builtin__ global variable. This should fix mypy complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me. * Fixes string index error. * Quotation error. * fixed initializing --script argument * added python-dotenv as a dependency * Installation can't be silent if config is not passed * fixed silent install help * fixed condition for ask_user_questions * reverted to creating profile object properly * Cleaned up and incorporated suggestions * added Profile import * added condition if Profile is null * fixed condition * updated parsing vars from argparse * removed loading users from .env * Reworking SysCommand & Moving to localectl for locale related activities (#4) * Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*. * Swapped `loadkeys` for localectl. * Renamed `main` to `maim` in awesome profile. * Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target. * Exposing systemd.py's internals to archinstall global scope. * Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69. * `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`. * Adding back peak_output=True to pacstrap. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> * fixed indent * removed redundant import * removed duplicate import * removed duplicate import Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2021-05-19Reworking SysCommand & Moving to localectl for locale related activitiesAnton Hvornum
* Moving to `localectl` rather than local file manipulation *(both for listing locales and setting them)*. * Swapped `loadkeys` for localectl. * Renamed `main` to `maim` in awesome profile. * Created `archinstall.Boot(<installation>)` which spawns a `systemd-nspawn` container against the installation target. * Exposing systemd.py's internals to archinstall global scope. * Re-worked `SysCommand` completely, it's now a wrapper for `SysCommandWorker` which supports interacting with the process in a different way. `SysCommand` should behave just like the old one, for backwards compatibility reasons. This fixes #68 and #69. * `SysCommand()` now has a `.decode()` function that defaults to `UTF-8`. * Adding back peak_output=True to pacstrap. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Dylan Taylor <dylan@dylanmtaylor.com>
2021-05-15Add mirror reachability checkDylan M. Taylor
Needed error handling Fix internet connection text not showing up and make it red
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15Fix E712 Dylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15f-string fixesDylan Taylor
2021-05-15Split filesystem message into multiple linesDylan Taylor