Project

General

Profile

Feature #31684

Updated by Lukas Zapletal 4 months ago

During investigation of problem with RHV provisioning, I have found out that all commands issued in %post scriplet after "nodectl init" are never persisted due to LVM layering. Therefore installing SSH keys via %post shell script will not work as well.

There is a workaround for that, keys can be installed via user/sshkey kickstart statements. However sudo (sudoers) still needs to be done via %post which will be ignored for RHV. This will be limitation, only root can be used to perform SSH jobs on RHV hosts. We should document that if this patch gets in.

More details at: https://bugzilla.redhat.com/show_bug.cgi?id=1842484

Back