Commit 14900bc
committed
Support alternate 'public-keys' format for NoCloud service.
The 'public-keys' in the metadata is sometimes just a simple list of keys
instead of a list dicts with an 'openssh-key', e.g:
```yaml
instance-id: my-instance-id
local-hostname: my-host-name
public-keys:
- ssh-rsa ...
```
Change-Id: I46c1228e1e1ea5bbf34144480633907a1ea203171 parent 036aa16 commit 14900bc
2 files changed
Lines changed: 13 additions & 0 deletions
File tree
- cloudbaseinit
- metadata/services
- tests/metadata/services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
250 | 260 | | |
251 | 261 | | |
252 | 262 | | |
| |||
0 commit comments