Commit Graph

498 Commits

Author SHA1 Message Date
Martin Wimpress
b9f90d12c3
Disable Suspend to RAM (S3) if SecureBoot or SMM are enabled 2021-10-25 11:17:32 +01:00
Martin Wimpress
a4eddaa9e5
Add SMM support, enabled by default for Windows guests 2021-10-25 11:17:32 +01:00
Martin Wimpress
b6db417b81
Refactor OVMF detection and add SecureBoot support
Add 'secureboot="on"' to a VM configuration to enable SecureBoot.
2021-10-25 11:16:35 +01:00
Martin Wimpress
aeb2a64720
Add efi_vars() for copying EFI variable store templates to the VM dir 2021-10-25 11:16:35 +01:00
Martin Wimpress
b8d6b02796
Refactor swtpm support to catch when it is missing
Also adds the swtpm laucher to the debug shell script.
2021-10-25 11:16:35 +01:00
Martin Wimpress
f23ace745a
Update download URL for OpenCore 2021-10-25 11:13:53 +01:00
Jed Spraul
454f13f8a9 Update macrecovery
Update from OpenCorePkg/Utilities/macrecovery/macrecovery.py
master branch 6107d573eb535c7708f66cebb83c767863dfd107
2021-10-25 11:10:42 +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
4634212f65
Bump version to 2.2.6 2021-10-21 01:47:03 +01:00
Martin Wimpress
d4e099edb0
Remove test stub 2021-10-21 01:46:41 +01:00
Martin Wimpress
e06c6119ec
Update README 2021-10-21 01:14:05 +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
3c2249934a
Disable all disk tuning, for the sake of compatibility. Close #98 2021-10-21 00:33:01 +01:00
Martin Wimpress
32da324717 Correct typo in --ignore-msrs-always argument 2021-10-21 00:28:03 +01:00
Martin Wimpress
936f79590c Minor comment edit 2021-10-21 00:28:03 +01:00
Martin Wimpress
b915d8d797 Only display MSR alerts when required 2021-10-21 00:28:03 +01:00
Martin Wimpress
a94541c5aa Order the argument parser 2021-10-21 00:28:03 +01:00
Martin Wimpress
d052d913f9 Order the usage 2021-10-21 00:28:03 +01:00
Martin Wimpress
acf6ef32fa Add --ignore-msrs-always argument 2021-10-21 00:28:03 +01:00
Martin Wimpress
e493112688 Refactor ignore_msrs_alert to make in non-blocking 2021-10-21 00:28:03 +01:00
Martin Wimpress
119e4dd7ad White space clean up 2021-10-21 00:28:03 +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
Phil Clifford
78b9a3f7f2
Politely offer to set ignore_msrs (#134)
* attempt to offer appropriate setting of ignore_msrs if needed

* Removed done TODO

* Revert "Removed done TODO"
to resolve merge conflict since all TODOS removed upstream
This reverts commit eb18fcf829.
2021-10-20 01:22:45 +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
4eb11caa10
Store the pid of the VM 2021-10-19 20:49:57 +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
b7fcb954d4 Update README.md 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