Project

General

Profile

coordination #69130

Updated by riafarov over 4 years ago

As requested by YaST team we could add more steps on our firstboot scenarios [Trello card](https://trello.com/c/WN7ywJhr/1943-2-sles15-sp2-p3-1173298-yast2-firstboothostname-breaks-with-error): 
 At the moment we have: 
  - [yast2_firstboot](https://openqa.suse.de/tests/4428144#step/enable_y2_firstboot/2) 
  - [autoyast_y2_firstboot](https://openqa.suse.de/tests/4428066#step/yast2_firstboot/1) 

 Both are using default firstboot.xml, which is created once the package is installed in the system. 
 With a custom firstboot.xml we could guarantee that more, called [clients](https://github.com/yast/yast-firstboot/tree/master/src/clients) which are the menu that we see on the left during firstboot wizard are working fine. 

 We could just edit in the systeml /etc/YaST2/firstboot.xml. See documentation: https://en.opensuse.org/YaST_Firstboot#Customizing_YaST_Firstboot 
 In particular there was a bug with hostname, so we should enable it in the control file: https://github.com/yast/yast-firstboot/blob/master/control/firstboot.xml#L88 and some other clients. 

 Note: for editing on AutoYast we might need embedded script so maybe we could just consider to do it in the other test suite before rebooting. 

 As of now we cover only yast clients which are enabled by default. 
 Motivated by https://trello.com/c/WN7ywJhr/1943-2-sles15-sp2-p3-1173298-yast2-firstboothostname-breaks-with-error and https://bugzilla.suse.com/show_bug.cgi?id=1173298  

 Here we can see full list of available clients: https://github.com/yast/yast-firstboot/blob/master/control/firstboot.xml 

 There is refactoring of the first boot functionality planned, so we should clarify the requirements. 
 All the clients cannot be enabled in one test suite as some of them conflict with each other, so we will need to split it to multiple scenarios. 

Back