如何 'kitchen login' 使用不同于 root 的用户
How to 'kitchen login' with user different from root
我们的主要说明书禁用了通过 ssh 的 root 登录,但我们希望能够执行 kitchen login
来玩测试机(是的,我们可以用 ssh 机来做,但我想知道是否可以将测试厨房配置为使用自定义用户)。
我的问题是 'Is it possible to configure test-kitchen to use the user steve instead of the root one when executing kitchen login
?' 我在网上或已经提出的问题中找不到任何相关信息。
我认为这不受支持。根据 kitchen docs,唯一支持的选项是设置日志级别,而不是用户。如果这是您需要的东西,我建议您提交功能请求。
我们的主要说明书禁用了通过 ssh 的 root 登录,但我们希望能够执行 kitchen login
来玩测试机(是的,我们可以用 ssh 机来做,但我想知道是否可以将测试厨房配置为使用自定义用户)。
我的问题是 'Is it possible to configure test-kitchen to use the user steve instead of the root one when executing kitchen login
?' 我在网上或已经提出的问题中找不到任何相关信息。
我认为这不受支持。根据 kitchen docs,唯一支持的选项是设置日志级别,而不是用户。如果这是您需要的东西,我建议您提交功能请求。