Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
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-19Provide sample configuration file showing how one would use commandsDylan 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
2021-05-15Whitespace changesDylan Taylor
2021-05-15Change mirror get check as suggestedDylan Taylor
2021-05-15Switch to using level=logging.DEBUGDylan Taylor
2021-05-15Final whitespace changes I thinkDylan Taylor
2021-05-15Minor whitespace changes to guided.pyDylan Taylor
2021-05-15More formatting fixesDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-05-15Fix f-string is missing placeholders in unattendedDylan Taylor
2021-05-15Fix f-string is missing placeholders in minimalDylan Taylor
2021-05-15Fix unused imports in guidedDylan Taylor
2021-05-15More manual fixesDylan Taylor
2021-05-14Removed dupe formatterAnton Hvornum
There should be no reason to call `.format()` here, since the steps above take care of all formatting.
2021-05-14Removed targeted /boot formatting. This should be handled and marked earlier ↵Anton Hvornum
in the locig, the partitioning logic should only honor the marked partitions and their status. No need to explicitly format /boot since - if it's meant to be formatted - it should already be marked.
2021-05-12some type hint fixes and a bad catch fixadvaithm
2021-05-01Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-partitioning
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Update kernel selectSecondThundeR
Move select to separate function Remove 'continue' option Add hardened kernel as option
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27Merge branch 'master' into misc-cleanupВладислав
2021-04-27Revert "Update logging for some functions"SecondThundeR
This reverts commit f5b6e7bafead1f604c27bfb31b84f3f560a682c8. Reverting commit due to currently redundant change and merge conflict
2021-04-27Pulled in latest changes from torxed-v2.2.0Anton Hvornum
2021-04-27Added a failsafe for kernels argument to be defaulted to linux, since 'None' ↵Anton Hvornum
could technically end up here.
2021-04-27Reduced complexity in guided for the kernel selection process.Anton Hvornum
2021-04-27Synced latest changes from torxed-v2.2.0.Anton Hvornum
2021-04-27Corrected indentation (mixed spaces and tabs)Anton Hvornum
2021-04-27having ability to use multiple kernels - dict fixAggam Rahamim
2021-04-25Merge branch 'master' of https://github.com/AggamR/archinstallAggam Rahamim
2021-04-25having ability to use multiple kernelsAggam Rahamim
2021-04-24updated to lastest commit, fixed a conflictadvaithm
2021-04-23Update logging for some functionsSecondThundeR
- Unified view of warning (red) and info (yellow) logs - Fixed some PEP8 related issues, like removing redundant f-strings and replacing double quotes to single ones - Removed warning logging level for simple logs - Removed other background color settings for logs to fully close https://github.com/archlinux/archinstall/pull/171
2021-04-23Moved output about base installed packagesSecondThundeR
This prevents screen from being cluttered if the user enters the wrong package(or packages), allowing only repetitions of prompt to be displayed
2021-04-22Added a continuation if partitions are not set yet.Anton Hvornum
2021-04-22Fixes #324.Anton Hvornum
2021-04-22merged with masteradvaithm
2021-04-21Re-working top-level-profile lambda to be a parameter to list_profiles() ↵Anton Hvornum
instead. When skipping a profile, None is returned from somewhere and it causes a glitch. So trying to figure out where and what by cleaning up a bit
2021-04-21Merged in latest changes and history from torxed-2.2.0 to avoid odd history ↵Anton Hvornum
in PR #315