diff --git a/VARIABLES.md b/VARIABLES.md index 4738bcf7..b144774a 100644 --- a/VARIABLES.md +++ b/VARIABLES.md @@ -79,6 +79,7 @@ it also means that `B` conflicts `A` even if not shown in the table). | `ANACONDA_TEXT` | boolean | `false`/not set | all | when specified, anaconda will run in text mode | | `ANACONDA_STATIC` | string (IPv4 address) | not set | `ANACONDA_TEXT` | If set, will set up static networking using the chosen IP address during install | | `POST_STATIC` | string (space-separated IPv4 address and hostname) | not set | nothing | If set, will set up static networking using the chosen IP address and hostname during early post-install | +| `NO_UEFI_POST` | boolean | `false`/not set | nothing | If set, `uefi_postinstall` test will not be loaded even if `UEFI` is set (can be useful for non-English tests to avoid `uefi_postinstall` running loadkeys) | Run variables ------------- diff --git a/main.pm b/main.pm index cd9120c9..36e19b43 100644 --- a/main.pm +++ b/main.pm @@ -298,7 +298,7 @@ sub load_postinstall_tests() { } autotest::loadtest $storagepost if ($storagepost); - if (get_var("UEFI")) { + if (get_var("UEFI") &! get_var("NO_UEFI_POST")) { autotest::loadtest "tests/uefi_postinstall.pm"; } diff --git a/templates b/templates index f56f5613..fb6c2847 100755 --- a/templates +++ b/templates @@ -5177,6 +5177,7 @@ { key => "REPOSITORY_VARIATION", value => "%LOCATION%" }, { key => "HDDSIZEGB", value => "13" }, { key => "QEMU_DISABLE_SNAPSHOTS", value => "1" }, + { key => "NO_UEFI_POST", value => "1" }, ], }, {