mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-18 19:21:28 +00:00
24 lines
429 B
Perl
24 lines
429 B
Perl
|
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.115', 'vnc002.domain.local');
|
||
|
# test test: check if we can see the server
|
||
|
assert_script_run "ping -c 2 172.16.2.114";
|
||
|
desktop_vt;
|
||
|
}
|
||
|
|
||
|
sub test_flags {
|
||
|
return { fatal => 1 };
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
|
||
|
# vim: set sw=4 et:
|