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-11-24Added error handling to guided surrounding disk_layoutsAnton Hvornum
2021-11-23Fix error at end of installation from missing method importDylan Taylor
2021-11-23Add accessibility packages to installed system if using the on the live ISO ↵Dylan M. Taylor
(#760) * Add group of accesibility tools * Conditionally extend base packages * Enable it if accessibility in use in guided * Fix circular import
2021-11-23Adding a warning when /boot is reasonably too small (#738)Anton Hvornum
* Moved convert_size_to_gb() into disk/helpers.py, Added a Partition().size property meta function. Using the .size value to check if /boot is too small which will raise an exception. The only drawback is that it's done post-formatting. This in order to catch scenarios where formatting isn't used. * Changed /boot warning from 0.15GB to 0.25GB * Changed the wording in the warning when /boot is too small.
2021-11-22Rewrite bootloader selection to allow efistub if advanced flag is setDylan Taylor
2021-11-22Make NTFS an advanced option (#753)Dylan M. Taylor
* Make NTFS an advanced option
2021-11-22Simplified size definition in dict. (#752)Anton Hvornum
* Simplified size definition in dict. Also changed from MiB to MB and GiB to GB on places where they were used, as BlockDevice().size now returns GB by default, so no math operations needed * Appended the /boot offset to /root when specifying /home start.
2021-11-20Merge PR #739 - Added @staticmethod decoratorsAnton Hvornum
source code improvement
2021-11-20Incorrect location usage of AVAILABLE_GFX_DRIVERSAnton Hvornum
#710
2021-11-19source code improvementSteven Lee
2021-11-11Removed assumptions that !user and !super-users exists.Anton Hvornum
2021-11-11Bad copy paste of code prohibited credentials from being stored.Anton Hvornum
2021-11-11Only adding disk encryption to user_credentials.json when supplied.Anton Hvornum
2021-11-09Forgot the disk encryption password, also escaped with !Anton Hvornum
2021-11-09Adding in storage of user supplied credentials. This separates credentials ↵Anton Hvornum
from user_configuration.json into user_credentials.json. As well as the JSON serializer will omit the credentials from the user_configuration.json by detecting ! in the dictionary keys (which is why they are important). UNSAFE_JSON will leave those keys in there, good for storing credentials in a separate file."
2021-11-09Revert default automatic hostname in user_config.json, I realized it's ↵Anton Hvornum
better to use --silent than forcing something in there. Some users might want to get poked on every machine.
2021-11-09Automatically fill the hostname in user_config.jsonAnton Hvornum
2021-11-05Fixed broken import from masterAnton Hvornum
2021-11-05Misspelled variable nameAnton Hvornum
2021-11-05Merged latest masterAnton Hvornum
2021-11-05Renamed the ntp function, as it doesn't install/enable ntp any longer. Even ↵Anton Hvornum
tho it uses the NTP protocol.
2021-11-05Merged PR #650 - flake8 fixes and tighteningAnton Hvornum
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-11-02Fix typosTheEvilSkeleton
2021-11-01Adding support for swap on zramAnton Hvornum
2021-10-30Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-fix-93
2021-10-30Wrong exposed variable corrected.Anton Hvornum
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-09-19general: remove all found white-spacesSecondThundeR
Also this change adds new line at the end for some scripts
2021-09-18Refactoring and cleaning up a bitAnton Hvornum
I'm making sure that the JSON structure of the user config can get a say in how the subvolumes should be used later on. As well as splitting up where the logic should be to make it easier to maintain.
2021-09-18Adding in options for BTRFS subvolumesAnton Hvornum
2021-09-15Making sure the drive paths are in the JSON structure, and not the class ↵Anton Hvornum
object, as it won't work seamlessly to access for instance storage['disk_layouts'][ClassInstance()] if it's not the identical mem copy of the object we're accessing, so strings are better for storage/comparisons.
2021-09-15Tweaked the logic for parsing the --harddrives parameter.Anton Hvornum
2021-09-15Fixing type issue with conversion to multiple disk logic.Anton Hvornum
2021-09-15More error handling and fixed a spelling error.Anton Hvornum
2021-09-15Might be redundant, but if the JSON file given to --config contains a list ↵Anton Hvornum
it will break the .split(), but if --harddrives is given as an argument, then we need to split. So adding a type-check
2021-09-15Updating support for --disk_layouts. It now supports file paths as well as ↵Anton Hvornum
JSON in string format via --disk_layouts=<json>
2021-09-15Reverted last change, and improved it. By passing it through load_config and ↵Anton Hvornum
tweaking the read structure a bit, it worked out better if the accessed values are in archinstall.storage instead.
2021-09-15Changed from internal storage to parameter-friendly arguments for ↵Anton Hvornum
disk_layouts, so we can support JSON for disk layouts on the new logic.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
2021-09-06Merged in master.Anton Hvornum
2021-09-06Merge pull request #614 from laxect/patch-1Anton Hvornum
Fix wrong default in kernels (guide.py)
2021-09-06Corrected some minor modifications mentioned in #595 as well as merged in ↵Anton Hvornum
latest changes from master. For future PR's do create a patch-branch for upstream patches to avoid changes to your local repo.
2021-08-20Update guided.pyYash Tripathi
2021-08-20added servers keyYash Tripathi
2021-08-18Update guided.pyギャラ
Fix wrong default in kernels.
2021-07-18changed dry_run to dry-runYash Tripathi
2021-07-18added new key for desktop-environmentYash Tripathi
2021-07-18created load_config() to load configurationYash Tripathi
2021-07-07Fix encryption + grub both in UEFI and BIOS systems.Hamad Al Marri
We need to have two partitions in BIOS one for boot (grub) and the other for root (/). The format of the boot partition is ext2 (so it is added). If disk is chosen to be encrypted, `then /etc/default/grub` is edited as the followings: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_GRUB_2 Issue: https://github.com/archlinux/archinstall/issues/586 This work is done while working on CachyOS which is Arch based and it is using customized archinstaller. To test these changes you can try CachyOS installer which supports encrypted disk with grub (https://wiki.cachyos.org/). Hamad