Commit Graph

689 Commits

Author SHA1 Message Date
Anton Hvornum 4291f3e84e Wrong filename on services 2020-09-01 14:35:34 +02:00
Anton Hvornum 8daae75a78 Adding service logic. Checking if reflector has finished before we select custom mirrors (if any) 2020-09-01 14:33:55 +02:00
Anton Hvornum e6293b7d44 Forgot to send with mirrors in the function call perform_installation() in guided template. 2020-09-01 14:06:36 +02:00
Anton Hvornum 323af39ed5 Added archinstall.Installer().set_mirrors, which allows to modify the mirrors in the finished installed medium. 2020-09-01 14:04:47 +02:00
Anton Hvornum 6744d7ac1b Spelling error 2020-09-01 13:57:54 +02:00
Anton Hvornum dd294ba0f3 Added more logging 2020-09-01 13:56:23 +02:00
Anton Hvornum 64f4646eef Fixed copy paste issue within code in the select function. 2020-09-01 13:52:32 +02:00
Anton Hvornum 7734fbee89 Spelling error 2020-09-01 13:49:47 +02:00
Anton Hvornum 35db09298d Spelling error 2020-09-01 13:48:31 +02:00
Anton Hvornum 52a08a492f Added user interaction: select_mirror_Regions 2020-09-01 13:43:19 +02:00
Anton Hvornum 5bba102c45 Added list_mirrors() and prepared for selecting mirrors in guided.py 2020-09-01 12:22:44 +02:00
Anton Hvornum 2ac4172394 Version bump to release v2.0.4 2020-09-01 10:49:40 +02:00
Anton Hvornum d765763e81 Forgot self in a parameter 2020-09-01 10:36:47 +02:00
Anton Hvornum 677533f765 Added the option to set keyboard layout of installation. Not only on the live medium 2020-09-01 10:33:18 +02:00
Anton Hvornum 8f35f44939 Added locale helpers in terms of keyboard language/layout. archinstall.list_keyboard_languages(), archinstall.search_keyboard_layout() and archinstall.set_keyboard_language() work together to help listing, finding and setting a keyboard layout in terminals. Won't work for X-frontends, but will do for CLI installation methods. Added a language selector-helper-function with a crude search functionality. Added all this to the guided template. 2020-09-01 09:01:14 +02:00
Anton Hvornum e4b9ad9d37 Forgot the syntax of sudoers apparently. Corrected. 2020-08-31 21:38:28 +02:00
Anton Hvornum b91699c0e5 Forgot self. in Installer 2020-08-31 21:12:19 +02:00
Anton Hvornum 129f7f23fa Fixed a conditional logic issue. It didn't break out of user creation when it was supposed to. 2020-08-31 21:09:01 +02:00
Anton Hvornum 35fc177345 Adding a different text on the user step if root is disabled. Also adding user as sudo if that's the case. 2020-08-31 20:46:38 +02:00
Anton Hvornum bb0ece0ece Added post-installation check on __exit__ of archinstall.Installer(). This will 'verify' that the installation is complete after leaving the installer, or warn the scripter/programmer/user that there's steps missing in order to complete the installation. This is a step towards combating root being disabled and sudo users forgotten to be created - to avoid total account lockout. 2020-08-31 18:57:51 +02:00
Anton Hvornum 2e7bd45267 Made btrfs optional in the minimal_installation. As it's only required if the filesystem is actually btrfs. 2020-08-31 16:41:38 +02:00
Anton Hvornum 75e2fb4bd3 Merge branch 'master' of github.com:Torxed/archinstall 2020-08-21 16:23:24 +00:00
Anton Hvornum ff1632ebbd Adding a comment. Also testing webhooks 2020-08-21 16:23:15 +00:00
Anton Hvornum 7a09115a70 Corrected API endpoint for automated tests. 2020-08-21 11:44:34 +00:00
Anton Hvornum 2b71ebd699 Added some debug output to the automated test profile. 2020-08-21 11:34:08 +00:00
Anton Hvornum 5075fdc758
Update README.md 2020-08-21 11:11:12 +00:00
Anton Hvornum 26a9d26723
Update README.md 2020-08-21 11:10:47 +00:00
Anton Hvornum 4c7669b01b
Update README.md 2020-08-21 11:10:18 +00:00
Anton Hvornum 6166fce003
Update README.md 2020-08-21 11:09:59 +00:00
Anton Hvornum 97696a8d02 Adjusted the automated test build to send the correct status message to the backend API. 2020-08-21 11:08:33 +00:00
Anton Hvornum 1b9f99beb1
Update README.md 2020-08-21 09:58:41 +00:00
Anton Hvornum eeb053215f
Update README.md 2020-08-21 09:46:40 +00:00
Anton Hvornum dc0b6ac9c3
Added automated test status.
The build status contains the last commit which was passed through the automated test procedure. It's the [examples/unattended.py](examples/unattended.py) running the profile [profiles/52-54-00-12-34-56.py](profiles/52-54-00-12-34-56.py) which sends a build status after a successful build. Failed build does not register yet.
2020-08-21 09:06:51 +00:00
Anton Hvornum 71ddbd9e02 Added API for automatic testing status. 2020-08-21 10:01:20 +00:00
Anton Hvornum 63b92f6ea7 Added try/catch for HTTPS POST. 2020-08-21 08:24:10 +00:00
Anton Hvornum 96e8cc4d5b Added a timeout on the HTTPS POST status after a successful install. 2020-08-20 22:16:53 +00:00
Anton Hvornum d449bb4b1f Added the HTTPS POST for a successful build to the unattended test build. 2020-08-20 19:56:58 +00:00
Anton Hvornum f6f5875892 Added a unattended installer. Fixed list_profiles() to not include .py 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-20 19:47:39 +00:00
Anton Hvornum 056b800c8e Starting to add networking helpers in archinstall. First up is 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-20 17:08:13 +00:00
Anton Hvornum aaad480ab8 Version bump in the build scripts. 2020-08-20 12:32:27 +00:00
Anton Hvornum 73e415160c Version bump 2020-08-20 12:26:27 +00:00
Anton Hvornum a2e676261a Added missing function reboot(). Also tweaked the build scripts so that they fetch a common version from the file VERSION. And some spelling tweaks for the log output. 2020-08-20 12:25:21 +00:00
Anton Hvornum ba9d5c746f Wrong $pkgname, adjusted. 2020-08-19 22:05:21 +00:00
Anton Hvornum 5af6e262e9 Added a PKGBUILD for python-archinstall. Which is just a Arch Linux native way of installing the pypi/pip version of archinstall. 2020-08-19 21:58:37 +00:00
Anton Hvornum 1742139e35 Spelling errors and clarifications. 2020-08-18 22:21:43 +00:00
Anton Hvornum af875e3902 Fixed merge. 2020-08-18 21:56:22 +00:00
Anton Hvornum 76c386951a Added build support for PKGBUILD. Also slimmed down make.sh to only compile the binary and nothing more. That way it's easier to ship the build to https://archlinux.life/bin/. Updated README to reflext the archlinux.life domain instead of hvornum.se since projects regarding archlinux will reside there or elsewhere in the future. 2020-08-18 21:54:34 +00:00
Anton Hvornum 1d8591c7fe Added make.sh into PKGBUILD 2020-08-09 09:24:45 +02:00
Anton Hvornum 27e20ae433 Removed support entirely for .json. Cleaning up the Profile() class **a lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore 2020-08-05 10:29:34 +02:00
Anton Hvornum 11f36102db Fixed description support 2020-08-04 14:58:10 +02:00