Actions
action #133271
closedcoordination #153280: [epic] Future automation of Agama
Make agama auto installation test work for s390x
Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2023-07-25
Due date:
% Done:
0%
Estimated time:
Description
Currently, we have 3 agama auto installation tests on o3 for x86_64 and aarch64. We could schedule the dolomite test for z/VM on o3 as well.
The bootloader_s390 will need some modifications in order to enter the proper parameters in the parmfile. The details of auto installation on z/VM are described here.
The test schedule will have to include handle_reboot or reconnect_mgmt_console for the console reconnection.
In the autoyast profile of autoyast_zvm test suite, we have added the following script for successful reconnection:
<scripts>
<!-- permit root login, password login and pubkeys login -->
<post-scripts config:type="list">
<script>
<filename>post-script.sh</filename>
<interpreter>shell</interpreter>
<location/>
<feedback config:type="boolean">false</feedback>
<source><![CDATA[
sshd_config_file="/etc/ssh/sshd_config.d/permit_root_login.conf"
echo -e "PermitRootLogin yes\nPubkeyAuthentication yes\nPasswordAuthentication yes" > $sshd_config_file
[ -d /root/.ssh ] || mkdir -p /root/.ssh; chmod 700 /root/.ssh
touch /root/.ssh/authorized_keys; chmod 600 /root/.ssh/authorized_keys
echo "##Authorized-Keys##" >> /root/.ssh/authorized_keys
]]>
</source>
</script>
</post-scripts>
</scripts>
Updated by syrianidou_sofia over 1 year ago
- Status changed from New to Workable
- Target version set to Current
Updated by lmanfredi about 1 year ago
- Status changed from Workable to In Progress
- Assignee set to lmanfredi
Updated by lmanfredi about 1 year ago
- Status changed from In Progress to Workable
Actions