Project

General

Profile

action #67534

Updated by riafarov almost 4 years ago

In yast2_lan module, one of the steps is to verify that the hostname can be successfully changed. Currently in the code, the hostname used for the change comes from:    `$hostname = get_var('HOSTNAME', 'susetest')` . For most architectures 'susetest' is also the hostname prior the change. So, in reality it doesn't verify if the hostname was changed ( https://openqa.suse.de/tests/4286250#step/yast2_lan/13 ). https://openqa.suse.de/tests/4286250#step/yast2_lan/13) . 

 On some backends we cannot change hostname without breaking the setup (at least powerVM and zVM). So we might need to limit scope of test to qemu. 



 Running the module on xen hvm, where original hostname is not 'susetest', fails (https://openqa.suse.de/tests/4295089#step/yast2_lan/20). 
 Running the module on x86, with different $hostname works (new needle needed for that to work) (http://falafel.suse.cz/tests/832#step/yast2_lan/23). 

 Acceptance criteria: 
 - Change the code of yast2_lan so that the hostname after change is different than before.

Back