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-03-08Added a abort messageAnton Hvornum
2021-03-08Re-formatted a question a bit.Anton Hvornum
2021-03-08Fixed indentation on output.Anton Hvornum
2021-03-08Added a small menu instead of a one-liner to select what to do with the disk ↵Anton Hvornum
if it has partitions.
2021-02-17Added a commentAnton Hvornum
2021-02-17Testing auto-filter in the JSON encoder based on ! points markering ↵Anton Hvornum
sensitive data.
2021-02-17Removed redundant variableAnton Hvornum
2021-02-17Simplified profile prep-execution slightly in guided.py. The code can be ↵Anton Hvornum
improved further but it's now more easily read what's going on.
2021-02-17Simplifying the profile loading a bit, and adding some debugging for it.Anton Hvornum
2021-02-17Cleaned up guided.py further by stream-lining the profiles and NIC ↵Anton Hvornum
configuration.
2021-02-17Cleaning up guided.py a bit to be less complex and convoluted, while still ↵Anton Hvornum
performing the same task.
2021-02-17Implemented #106 in branch skip-partitioning. Also moving the disk_password ↵Anton Hvornum
from being a local variable to a BlockDevice setting/variable.
2021-02-17Forgot relative path for exceptions.Anton Hvornum
2021-02-17Added more error handling for filesystem selectionAnton Hvornum
2021-02-17Added more flags to the dummy-formatAnton Hvornum
2021-02-17Added some error handling when selecting a filesystem for partitions.Anton Hvornum
2021-02-17Adding filesystem selection for partitionsAnton Hvornum
2021-02-16Re-worked guided to allow for unsupported fileformats when checking which ↵Anton Hvornum
are supported, as well as selecting mount-points.
2021-02-11Reworked the way partition formatting works. As well as added some flags to ↵Anton Hvornum
the partition if it's locked/unlocked for partitioning. By defaults partitions will now be in a locked state - prohibiting formatting unless set or overridden in the formatting call. This allows us to selectively format partitions individually later on. There's also a target_mountpoint that is the desired relative mount point inside a installation. This can be pre-pended with the installation base directory during mount. These changes also function as indicators for the installation (and guided installation) for which partitions to use and/or wipe. If an entire drive is selected for wiping, these changes will have no affect in the decision making as all partitions will be new and have formatable set to true.
2021-02-07Forgot importpath for exceptionsAnton Hvornum
2021-02-07Quotation issueAnton Hvornum
2021-02-07Replacing static variables with more dynamic ones that can live across ↵Anton Hvornum
scopes. No need to pass things around unless strictly nessecary
2021-02-07Forgot a semicolonAnton Hvornum
2021-02-07Thought I could get away with a little default-parameter hack to make the ↵Anton Hvornum
code look nice, but the JIT doesn't do lazy resolving on .get() calls.
2021-02-07Added in command line arguments to guided and simplified the laout of guided ↵Anton Hvornum
a bit. Also added some more comments.
2021-02-07Added in argument support to archinstall for easier testing and debuggingAnton Hvornum
2021-02-07Moved the output of the current fileformat structure in guided, as well as ↵Anton Hvornum
added an option to supress the log message from format() in order to hide (for users) the some what confusing formating of /dev/null.
2021-02-07Added a check in guided to make it more visible that we check for filesystem ↵Anton Hvornum
supportation.
2021-02-07Renamed fat32 to vfat to work more seamlessly with findmnt and other tools ↵Anton Hvornum
that report fat32 as vfat
2021-02-07Added some log outputs for existing drives.Anton Hvornum
2021-02-07Threw the wrong exceptionAnton Hvornum
2021-02-07Added the ability to check if a harddrive has any mountpoint related to a ↵Anton Hvornum
given parameter.
2021-02-07Can't unmount during startup if we want to support existing partitioning ↵Anton Hvornum
schemes.
2021-02-07has_partitions() doesn't take any parameters, old reminant of prototype code.Anton Hvornum
2021-02-07Created has_partitions() on BlockDevice'sAnton Hvornum
2021-02-07Adding a check to see if the disk contains a parition table already. ↵Anton Hvornum
has_partitions() TBI
2021-01-26Merge branch 'master' of github.com:Torxed/archinstall into improved-loggingAnton Hvornum
2021-01-25Adding copy mode for #95 (#82). I wouldn't say this is a hacky way of doing ↵Anton Hvornum
it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over.
2021-01-25Simplified the code a bit by removing the log file setup. It's not handled ↵Anton Hvornum
by archinstall.output.log(). Also moved two variable setups to the top.
2021-01-25Added some more fields to the configuration output, as well as added a ↵Anton Hvornum
better fail safe for the logging output. Any exception during the installation will be caught by __exit__ in Installer(), hopefully.
2021-01-21examples/guided: Enable systemd-resolvedGiancarlo Razzolini
If we enable systemd-networkd and do not enable systemd-resolved, the installed system is left on a state where it has networking, but can resolve any hostnames. It is required to have systemd-resolved enabled if any .network file has a DNS entry or is using DHCP=yes. https://wiki.archlinux.org/index.php/Systemd-networkd#Required_services_and_setup
2021-01-19Fixed #76 and created PGP keys.Anton Hvornum
2020-12-06Added additional user-verification to guided.pyAnton Hvornum
Also spelling error in subpath
2020-12-06Reverted last commit and added debugging in guided insteadAnton Hvornum
2020-12-06Simplified guided.py a bitAnton Hvornum
2020-11-11Fixed default-variable setup bug.Anton Hvornum
2020-11-11Fixed a bug where no locale generated a hang because loadkeys needs at least ↵Anton Hvornum
one option in set_keyboard_language()
2020-11-11Forgot to enable systemd-networkd service.Anton Hvornum
2020-11-11Added key error correction again by creating default value. Should do this ↵Anton Hvornum
for all of them really.
2020-11-11Created a default package entry in the _guided storage.Anton Hvornum