1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 18:33:07 +00:00
os-autoinst-distri-fedora/tests/_vncconnect_client_setup.pm
Adam Williamson 72edbfe991 Use qemu host IP 172.16.2.2 not 10.0.2.2
This is to make the infra folks happy, apparently using 10.0.x.x
and 10.1.x.x is causing conflicts since our actual infra network
uses those ranges too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-23 16:40:45 -07:00

30 lines
649 B
Perl

use base "installedtest";
use strict;
use lockapi;
use tapnet;
use testapi;
use utils;
sub run {
my $self = shift;
$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;
menu_launch_type 'terminal';
wait_still_screen 5;
type_very_safely "vncviewer -FullScreen -listen\n";
mutex_create 'vncconnect_client_ready';
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: