mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-27 09:35:48 +00:00
Make sure, the variables are filled correctly.
This commit is contained in:
parent
4cb73ab7f3
commit
b81caf322a
@ -2524,7 +2524,7 @@
|
|||||||
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"POSTINSTALL": "remote_desktop_server",
|
"POSTINSTALL": "remote_desktop_server",
|
||||||
"POST_STATIC": "172.16.2.107 king.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.107 kaermorhen.test.openqa.fedoraproject.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"WORKER_CLASS": "tap"
|
"WORKER_CLASS": "tap"
|
||||||
@ -2540,7 +2540,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"POSTINSTALL": "remote_desktop_client",
|
"POSTINSTALL": "remote_desktop_client",
|
||||||
"PARALLEL_WITH": "remote_desktop_server",
|
"PARALLEL_WITH": "remote_desktop_server",
|
||||||
"POST_STATIC": "172.16.2.108 pawn.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.108 witcher.test.openqa.fedoraproject.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"WORKER_CLASS": "tap"
|
"WORKER_CLASS": "tap"
|
||||||
|
@ -8,13 +8,14 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $user = "";
|
my $rdpuser = "geralt";
|
||||||
my $password = "";
|
my $rdppass = "ciriofcintra";
|
||||||
my $ip = "";
|
my $ip = "172.16.2.107";
|
||||||
|
my $password = get_var("USER_PASSWORD", "weakpassword");
|
||||||
|
|
||||||
# Switch to console and install the necessary packages.
|
# Switch to console and install the necessary packages.
|
||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
assert_script_run("hostnamectl set-hostname pawn");
|
assert_script_run("hostnamectl set-hostname witcher");
|
||||||
assert_script_run("dnf install -y freerdp", timeout => 60);
|
assert_script_run("dnf install -y freerdp", timeout => 60);
|
||||||
|
|
||||||
# Return to the desktop
|
# Return to the desktop
|
||||||
@ -32,7 +33,7 @@ sub run {
|
|||||||
assert_and_check("connection_login_screen");
|
assert_and_check("connection_login_screen");
|
||||||
send_key("ret");
|
send_key("ret");
|
||||||
sleep(2);
|
sleep(2);
|
||||||
type_very_safely("$syspw\n");
|
type_very_safely("$password\n");
|
||||||
wait_still_screen(2);
|
wait_still_screen(2);
|
||||||
|
|
||||||
# Start the terminal
|
# Start the terminal
|
||||||
|
@ -7,6 +7,8 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $user = get_var("USER_LOGIN", "test");
|
my $user = get_var("USER_LOGIN", "test");
|
||||||
my $password = get_var("USER_PASSWORD", "weakpassword");
|
my $password = get_var("USER_PASSWORD", "weakpassword");
|
||||||
|
my $rdpuser = "geralt";
|
||||||
|
my $rdppass = "ciriofcintra";
|
||||||
|
|
||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
# Make necessary settings for the RDP server.
|
# Make necessary settings for the RDP server.
|
||||||
@ -21,7 +23,7 @@ sub run {
|
|||||||
|
|
||||||
# Let's also change the hostname so that we can
|
# Let's also change the hostname so that we can
|
||||||
# differentiate later.
|
# differentiate later.
|
||||||
assert_script_run("hostnamectl set-hostname king");
|
assert_script_run("hostnamectl set-hostname kaermorhen");
|
||||||
|
|
||||||
# Change to Desktop
|
# Change to Desktop
|
||||||
desktop_vt();
|
desktop_vt();
|
||||||
@ -46,9 +48,9 @@ sub run {
|
|||||||
assert_and_click("settings_switch_remote");
|
assert_and_click("settings_switch_remote");
|
||||||
wait_still_screen(3);
|
wait_still_screen(3);
|
||||||
assert_and_click("settings_remote_username");
|
assert_and_click("settings_remote_username");
|
||||||
type_very_safely("remotee");
|
type_very_safely($rdpuser);
|
||||||
assert_and_click("settings_remote_password");
|
assert_and_click("settings_remote_password");
|
||||||
type_very_safely("opensesame");
|
type_very_safely($rdppass);
|
||||||
assert_and_click("gnome_reveil_password");
|
assert_and_click("gnome_reveil_password");
|
||||||
wait_still_screen(3);
|
wait_still_screen(3);
|
||||||
send_key("alt-f4");
|
send_key("alt-f4");
|
||||||
|
Loading…
Reference in New Issue
Block a user