Commit Graph

800 Commits

Author SHA1 Message Date
Martin Wimpress 584c855ec3
Add Downloader field to quickget
This will inform frontend GUIs what download mechanism will be used to get the requested OS.
2021-10-27 22:28:05 +01:00
Phil Clifford 255873c05a working link for elementary
The current download link returns an html file with a message about an expired link.  Ideally this needs to be fixed more elegantly by collaboration with the elementary team to get a stable/non-expiring link or find an alternate source ( or de-support elementary)
2021-10-27 21:59:14 +01:00
Martin Wimpress 70c2930336
Fix Ubuntu Canary support 2021-10-27 16:25:53 +01:00
Martin Wimpress 60641a4b62
Fix cleaning up .zs-old files 2021-10-27 16:25:11 +01:00
Martin Wimpress 78233a50ce
Fallback to macrecovery from Quickemu project 2021-10-27 15:45:33 +01:00
Martin Wimpress 5fd8271a79
Add missing local variable declarations 2021-10-27 15:44:53 +01:00
Martin Wimpress 61e2930999
Fix Big Sur download. Close #161 2021-10-27 15:44:29 +01:00
Martin Wimpress ea8f459977
Make shellcheck happy 2021-10-27 12:18:10 +01:00
Martin Wimpress 1421492f87
Add initial support for macOS Monterey 2021-10-27 11:56:56 +01:00
Martin Wimpress a5f27dc68d
Only set secureboot=on for Windows 11 on non-Debian/Ubuntu 2021-10-25 16:13:53 +01:00
Martin Wimpress 7111cb5d7b
Fix Linux Mint and NixOS argument parsing 2021-10-25 13:23:43 +01:00
Martin Wimpress 90045e8363
Correct NixOS support 2021-10-25 13:23:05 +01:00
Martin Wimpress cf71b7aeb5
Refactor Kali support 2021-10-25 13:22:33 +01:00
Martin Wimpress cf20a3268b
Merge remote-tracking branch 'origin/master' 2021-10-25 11:55:43 +01:00
Martin Wimpress 7d9a38cf33
Fix hash checking to jumping Ubuntu devel series. Close #151 2021-10-25 11:55:25 +01:00
fedx-sudo 8602ba8e85 add NixOS to quickget
add NixOS to quickget

add NixOS to quickget
2021-10-25 11:33:21 +01:00
takov751 f1114974c0
Added Kali support (#148)
* Added Kali support

* Support for Kali

* remove link left in quickget

* made changes to get latest release.

* Added weekly iso as well

* few typo and clearing up choosing release version

* fixing readme about version
2021-10-25 11:32:22 +01:00
Martin Wimpress f23ace745a
Update download URL for OpenCore 2021-10-25 11:13:53 +01:00
Dani Llewellyn d62d739e8a [UBUNTU]: Add canary release to test the new installer
* Add `canary` as supported Ubuntu release

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-21 21:29:29 +01:00
Jed Spraul 8bb9003f5a Halt unless bash 4 or newer 2021-10-21 21:28:13 +01:00
Martin Wimpress d4e099edb0
Remove test stub 2021-10-21 01:46:41 +01:00
Martin Wimpress 271f3472af
Add hash checking for FreeBSD 2021-10-21 01:13:43 +01:00
Martin Wimpress cae95e5b14
Add hash checking for openSUSE 2021-10-21 00:56:25 +01:00
Martin Wimpress ffeabdabf2
Add hash checking for Linux Mint 2021-10-21 00:54:45 +01:00
Martin Wimpress af7348caf6
Refactor, and enable, OpenBSD support 2021-10-20 23:22:35 +01:00
Fabian Schmidt 94ecb1b3ec
added openbsd 7 support (#129)
Co-authored-by: Fabian Schmidt <fabian85@protonmail.com>
2021-10-20 22:07:07 +01:00
Martin Wimpress ecd4ed043e Add list_json()
As we now have valid CSV, pipe that into a jq filter to generate JSON.

https://stackoverflow.com/a/67359273
2021-10-20 00:39:58 +01:00
Martin Wimpress 6cba256d79 Rename list_all() to list_csv() 2021-10-20 00:39:58 +01:00
Martin Wimpress f542e798c5 Make CSV output valid 2021-10-20 00:39:58 +01:00
Martin Wimpress e9f26f7758 Update Pop!_OS support to use their API. Close #137
Also adds support for downloading the intel or nvidia versions and checks the hash.
2021-10-19 20:41:24 +01:00
Martin Wimpress 31a089d465 Update calls to check_hash() 2021-10-19 20:41:24 +01:00
Martin Wimpress ef94ff64ff check_hash() will automatically add the VM_PATH and derive the hash algorithm 2021-10-19 20:41:24 +01:00
Martin Wimpress e24f34ad9d Swallow zsync stderr 2021-10-19 20:41:24 +01:00
Martin Wimpress 14d3b99ad8 Correct openSUSE pretty name 2021-10-19 20:41:24 +01:00
Martin Wimpress 62b7713a6d Make pretty_name() pretty 2021-10-19 20:41:24 +01:00
Martin Wimpress cf177160c2 Remove mk_vm_dir() Make sure web_get() & zsync_get() make directories 2021-10-19 20:41:24 +01:00
Martin Wimpress b71fab5798 Refactor existing hash checking to use check_hash() 2021-10-19 20:41:24 +01:00
Martin Wimpress e1d15d4f04 Add check_hash() function 2021-10-19 20:41:24 +01:00
Martin Wimpress dacc7913e1 Add quick 'n dirty docs explaining how to add a new OS 2021-10-19 20:41:24 +01:00
Martin Wimpress 635765dcfc Call start_vm_info() from make_vm_info() 2021-10-19 20:41:24 +01:00
Martin Wimpress ec490d489a Always recreate unattended.iso 2021-10-19 20:41:24 +01:00
Martin Wimpress 029a218bc9 Add missing double quote 2021-10-19 20:41:24 +01:00
Martin Wimpress f34434e4ad Refactor get_*() functions to use validate_release() 2021-10-19 20:41:24 +01:00
Martin Wimpress 1b9eb20ba6 Add validate_release() function 2021-10-19 20:41:24 +01:00
Martin Wimpress 7d003eda88 Add pretty_name() function 2021-10-19 20:41:24 +01:00
Martin Wimpress 7a4a09f9bc Refactor Ubuntu support 2021-10-19 20:41:24 +01:00
Martin Wimpress 25b89573e5 Refactor Windows support 2021-10-19 20:41:24 +01:00
Martin Wimpress 4ed68f2174 Refactor Fedora support 2021-10-19 20:41:24 +01:00
Martin Wimpress ced69c3303 Refactor Pop!_OS support 2021-10-19 20:41:24 +01:00
Martin Wimpress 807ef7c0c1 Fix Linux Mint releases generator 2021-10-19 20:41:24 +01:00
Martin Wimpress 20b7478f31 Refactor openSUSE support 2021-10-19 20:41:24 +01:00
Martin Wimpress 9b1dba263b Refactor FreeBSD support 2021-10-19 20:41:24 +01:00
Martin Wimpress 3870fe68cf Refactor elementary OS support 2021-10-19 20:41:24 +01:00
Martin Wimpress 68213b89e7 Correct conditionals in make_vm_config() 2021-10-19 20:41:24 +01:00
Martin Wimpress 9cc489608c Refactor argument evaluation 2021-10-19 20:41:24 +01:00
Martin Wimpress ca57afa111 Refactor Linux Mint support. Treat DE variants as an OS use actual versions 2021-10-19 20:41:24 +01:00
Martin Wimpress 59bd1ca309 Add missing double quotes 2021-10-19 20:41:24 +01:00
Yannick Mauray 516ececfbd
Added elementary OS support (#130)
* Added elementary OS support

* Updated README.md

* Added pretty name for elementary OS
2021-10-19 12:04:16 +01:00
Yannick Mauray 9eb455c295
Added Pop!_OS support (#131)
* Added Pop!_OS support

* Updated README.md

* Added pretty name for Pop!_OS
2021-10-19 12:04:00 +01:00
Martin Wimpress b7493cee10 Add list argument to quickget. Close #97
For UI creators, `quickget list` will print to strdout asll the support operating systems and releases.
2021-10-19 11:44:22 +01:00
Yannick Mauray 91f2abdeab Housekeeping
Removed unnecessary wildcards for non-ubuntu operating systems.
2021-10-19 01:42:16 +01:00
Attila Pinter f33892c62d adding openSUSE MicroOS only 2021-10-18 13:01:04 +01:00
Yannick Mauray 2911835187 Added linuxmint support
quickget supports linuxmint cinnamon 20.2, MATE 20.2, and xfce 20.2
2021-10-18 11:44:23 +01:00
Yannick Mauray b4b69b8574
Added openSUSE support (#113) 2021-10-16 19:27:45 +01:00
Yannick Mauray c5cdb44325
Show list of fedora releases (#112) 2021-10-16 19:09:39 +01:00
Martin Wimpress cc9e13ec81
White space cleanup 2021-10-15 01:45:05 +01:00
Martin Wimpress 1b1197239c
Make sure the VM directory is created before anything is downloaded 2021-10-15 01:44:43 +01:00
Dani Llewellyn 945160abe6 [WINDOWS] Put spice-vdagent etc in unattended.iso
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn 4a382c5273 [WINDOWS] Add spice vdagent
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn e009c3bfd5 [WINDOWS] Add remaining post install steps to unattended setup
* Add USBDK download and install
* Add SPICE-WebDavd download and install
* Update README to remove post install instructions

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn 79ee4405d6 [WINDOWS] Add missing balloon driver to unattend file
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn 3749c85017 [WINDOWS] more preinstalled drivers & guest-agent
* Update the autounattend file with the remaining virtio drivers
* Update the autounattend file with an installation step for the guest agent
* Remove obsolete instructions for steps that the autounattend file handles now

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Avri Chen-Roth ca2a07461a Initial Fedora Support 2021-10-15 01:22:29 +01:00
Yannick Mauray 840294c16b
Added impish (#106) 2021-10-15 01:20:50 +01:00
Martin Wimpress 247b3d8a4e
Only check Windows iso SHA1 if a SHA1 is available 2021-10-09 16:32:40 +01:00
Martin Wimpress 7daa5d671a
Double quote DOWNLOAD_INFO when extracting SHA1 2021-10-09 16:26:45 +01:00
Martin Wimpress 419376757d
Check Windows iso SHA1 #70 2021-10-09 16:10:58 +01:00
Martin Wimpress 60a64b73aa
Make sure the unattended settings directory exists 2021-10-08 14:38:11 +01:00
Martin Wimpress f4599d7666
Only create unattended.iso when it doesn't already exist 2021-10-08 02:42:42 +01:00
Martin Wimpress d191d0da44
Add unattended configuration for Windows 10 and 11
Automates some of the install/configuration steps for Windows 10 and 11, most notably essential drivers and disk formatting.
2021-10-08 02:04:30 +01:00
Martin Wimpress 1adf80a42e
Refactor FreeBSD support 2021-10-07 16:36:38 +01:00
Martin Wimpress c060214412
Add FreeBSD release prompt 2021-10-07 16:36:10 +01:00
Kai Lyons 0dd26be472
Add FreeBSD support (#62)
* Add releases_freebsd() function

* complete FreeBSD addition

* Add README.md info for FreeBSD

Co-authored-by: Kai Lyons <kailyons@pop-os.localdomain>
2021-10-07 16:22:45 +01:00
Martin Wimpress 023185291e
Add TPM support. 2021-10-06 11:01:33 +01:00
Martin Wimpress a7508c0feb
Fix multiple Windows release support 2021-10-05 23:51:57 +01:00
Martin Wimpress 80a05b630e
Add Windows 8 support to quickget and refactor Windows 10/11 support 2021-10-05 23:49:03 +01:00
Martin Wimpress aa2c8d0913
Add Windows 11 support to quickget 2021-10-05 20:08:13 +01:00
Martin Wimpress 86e634b2bd
Drop .py from macrecovery 2021-10-05 17:11:49 +01:00
Martin Wimpress 561d04a2b5
Add macos_release VM configuration variable. Tune macOS based on release
Tune Qemu optimisations based on the macOS release, or fallback to lowest common supported options if macos_release is not specified.
2021-10-04 17:34:31 +01:00
Martin Wimpress 6ea4fa812f
Don't download macOS firmware/bootloader at runtime
quickget it the tool to acquire macOS with compatible firmware and bootloader. quickemu is backwards compatible with Clover.
2021-09-30 18:59:00 +01:00
Martin Wimpress eae506e24a
Configurations create by quickget now use relative paths
Makes it easy to move VM from place to place.
2021-09-28 15:40:46 +01:00
Martin Wimpress 3527001973
Add $virtio_blk to disable VirtIO Block Media
Currently only required for macOS High Sierra and Mojave
2021-09-28 15:37:36 +01:00
Martin Wimpress f60e92d80e
Change $driver_iso to $fixed_iso
Compatibility for configurations using $driver_iso is preserved.
2021-09-28 15:32:12 +01:00
Martin Wimpress cd410b2b19
Fix Mojave support 2021-09-28 15:26:10 +01:00
Martin Wimpress f877ce30e9
Reinstate High Sierra support 2021-09-28 15:25:38 +01:00
Martin Wimpress f908e3be96
Add Windows 10 support to quickget 2021-09-28 05:03:16 +01:00
Martin Wimpress a4cfed64e1
Minor code clean up 2021-09-28 02:14:30 +01:00
Martin Wimpress f20fe5f514
quickget uses static name for Ubuntu devel downloads
quickget now uses a static name for devel downloads via zsync so they can automatically jump release series.
2021-09-28 02:13:08 +01:00
Martin Wimpress bf461eb966
Drop macOS High Sierra support
High Sierra doesn't support VirtIO Disk devices so dropping support from Quickemu.
2021-09-28 02:11:06 +01:00
Martin Wimpress ab7f78a90c
Add the initial version of quickget
Supports Ubuntu (and all the flavours) and macOS.
2021-09-28 00:09:46 +01:00