1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-28 08:33:08 +00:00
os-autoinst-distri-fedora/tests/_vncconnect_client_setup_pre.pm

26 lines
520 B
Perl
Raw Permalink Normal View History

use base "installedtest";
use strict;
use tapnet;
use testapi;
use utils;
sub run {
my $self = shift;
boot_to_login_screen(timeout => 300);
$self->root_console(tty=>3);
setup_tap_static('172.16.2.117', 'vnc004.domain.local');
# install tigervnc (Boxes doesn't do reverse VNC)
assert_script_run "dnf -y install tigervnc", 180;
# take down the firewall
assert_script_run "systemctl stop firewalld";
desktop_vt;
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: