Drop odd keys from structure
* Disable root login by default
* Drop odd lab users|key
Depends-On: https://gerrit.mcp.mirantis.com/#/c/37337/
Change-Id: I052696aa4662251dfe9db76759fbca18985b8e79
Related-Prod: PROD-27456 (PROD:27456)
diff --git a/openssh/server/team/lab.yml b/openssh/server/team/lab.yml
index b6c90f8..5dc415e 100644
--- a/openssh/server/team/lab.yml
+++ b/openssh/server/team/lab.yml
@@ -1,10 +1,4 @@
parameters:
- _param:
- linux_system_user_sudo: true
- # This is the public key associated to the default private key setup in
- # openssh.client.lab
- cluster_public_key: >-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEvr+tWAJ62wROllpSZeaSPxxnVY3R65sfUW8wM6L8tr1knJOTQLoBikmcjISb3ekyPlwubTypGoxb7al06FiNwfr3KDkytflKRGTyMKYgchighuFCfBuePd13cjf1l19TYU7u7a+VuCVWi7pmhDGUkMi24s23OroQb7D14XX17v46wLrqJQi2nrXzN/DWXcn/ycq8IZ7ZFgN/uYlbpfAKX8PCvImbDDO8+BgndAy4MPz8cWOWsnfGMVNePhvhazVcijLvx8Vu2Iuvg7CoJiSGjTe7YTms44/WpnFkHreyK8cwsw4wzls4BApu6UU2jIAsAMZh9zux/Rtni71dcNfF
linux:
system:
user:
@@ -17,10 +11,10 @@
permit_root_login: true
user:
root:
- enabled: true
+ enabled: false
user: ${linux:system:user:root}
public_keys:
- ${public_keys:root}
public_keys:
root:
- key: ${_param:cluster_public_key}
+ key: ${_param:root_public_key}