File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use base qw(opensusebasetest);
99use testapi;
1010use power_action_utils qw( power_action) ;
1111use serial_terminal qw( select_serial_terminal) ;
12+ use utils qw( systemctl) ;
1213use Utils::Architectures qw( is_aarch64) ;
1314
1415=head2 wait_kubectl_cmd
@@ -80,6 +81,9 @@ sub run {
8081 my $rootpwd = get_required_var(' TEST_PASSWORD' );
8182 $testapi::password = $rootpwd ; # Set default root password
8283
84+ # Define timeouts based on the architecture
85+ my $timeout = (is_aarch64) ? 480 : 240;
86+
8387 # For HDD image boot
8488 if (check_var(' IMAGE_TYPE' , ' disk' )) {
8589 # Wait for GRUB and select default entry
@@ -95,6 +99,10 @@ sub run {
9599 # Record boot
96100 record_info(' OS boot' , ' Successfully booted!' );
97101
102+ # Start rke2-server
103+ # TODO: use the ReleaseManifest functionality later!
104+ systemctl(' enable --now rke2-server' , timeout => $timeout );
105+
98106 # Wait for kubectl command to be available
99107 wait_kubectl_cmd();
100108
You can’t perform that action at this time.
0 commit comments