4.17. 配置 Kickstart 模板以在置备过程中分发 SSH 密钥
您可以在自定义 Kickstart 模板中添加 remote_execution_ssh_keys
片断,以便在置备过程中将 SSH 密钥部署到主机。Satellite 附带的 Kickstart 模板默认包括这个片段。Satellite 在调配期间将用于远程执行的 SSH 密钥复制到系统。
流程
要在新置备的主机中包含公钥,请将以下代码片段添加到您使用的 Kickstart 模板中:
<%= snippet 'remote_execution_ssh_keys' %>
<%= snippet 'remote_execution_ssh_keys' %>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow