mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-12-07 17:36:00 +00:00
Try moving variable into a test
This commit is contained in:
parent
6be8fed464
commit
7f9bdcf120
@ -1529,8 +1529,7 @@
|
||||
"fedora-i3-live-x86_64-*-64bit": 70
|
||||
},
|
||||
"settings": {
|
||||
"ENTRY_POINT": "_graphical_wait_login _collect_data uefi_postinstall _console_shutdown",
|
||||
"INSTALL_NO_USER": "1",
|
||||
"ENTRY_POINT": "_postinstall_usb _graphical_wait_login",
|
||||
"PACKAGE_SET": "default",
|
||||
"START_AFTER_TEST":"install_usb_upload",
|
||||
"HDD_1": "usbdisk_%FLAVOR%_%MACHINE%.qcow2",
|
||||
|
||||
22
tests/_postinstall_usb.pm
Normal file
22
tests/_postinstall_usb.pm
Normal file
@ -0,0 +1,22 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use anaconda;
|
||||
use utils;
|
||||
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $desktop = get_var("DESKTOP");
|
||||
if ($desktop eq "gnome") {
|
||||
set_var("INSTALL_NO_USER", "1", reload_needles => 1);
|
||||
}
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
||||
Loading…
Reference in New Issue
Block a user