`authorized_keys` should be a file, not a directory.
Change-Id: Ia8d250149b77f6e812a311509e70900f2a975c9b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
- netplan.io
- openssh-server
runcmd:
- - ['mkdir', '-p', '/root/.ssh/authorized_keys']
+ - ['mkdir', '-p', '/root/.ssh']
- "echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBnCyGcahJXys7md2yb3jP8L6hLN3D72aZCzsqUrJDsC\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVFn/ymsG8LqPvgVzyMaSVzYCVn/440ME8O6AzbZG39' > /root/.ssh/authorized_keys"
description: ""
devices:
- netplan.io
- openssh-server
runcmd:
- - ['mkdir', '-p', '/root/.ssh/authorized_keys']
+ - ['mkdir', '-p', '/root/.ssh']
- "echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBnCyGcahJXys7md2yb3jP8L6hLN3D72aZCzsqUrJDsC\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHVFn/ymsG8LqPvgVzyMaSVzYCVn/440ME8O6AzbZG39' > /root/.ssh/authorized_keys"
description: "CI node"
devices: