Actions
Feature #31684
closedSSH keys snippet should use user/sshkey kickstart statements
Description
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
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8262 added
Updated by Lukas Zapletal over 3 years ago
- Status changed from Ready For Testing to Rejected
Actions