Project

General

Profile

Actions

action #69175

closed

coordination #69130: [functional][y][epic] Extend test coverage for firstboot

[y] Enable firstboot_hostname yast client in first boot test

Added by riafarov almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2020-07-21
Due date:
2020-09-08
% Done:

0%

Estimated time:
5.00 h

Description

See motivation in the parent ticket.

As of now we test default first boot file by just touching file or enabling it in autoyast: assert_script_run 'touch /var/lib/YaST2/reconfig_system';

For this scenario we should provide custom firstboot.xml (which is located at /etc/YaST2/firstboot.xml) and enable firstboot_hostname client in it:

   <module>
       <label>Host Name</label>
       <enabled config:type="boolean">true</enabled>
       <name>firstboot_hostname</name>
   </module>

It would make sense to create new scenario which we will extend later with other clients.

Acceptance criteria

  1. firstboot_hostname client is enabled in one of the test scenarios for TW
  2. hostname setting is validated in the configured system
  3. test plan is updated accordingly
Actions

Also available in: Atom PDF