diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-03-01 11:14:31 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-03-01 11:14:31 -0500 |
commit | 1676825c229e3939ec5b06c494bdcb56d39dddb1 (patch) | |
tree | 855c04a9f8a9d71ee3efc367151fca38e26e8b96 /cloudinit/DataSourceOVF.py | |
parent | a805702b98bbcafdf0b61c51a483e5f98b2bcab2 (diff) | |
download | vyos-cloud-init-1676825c229e3939ec5b06c494bdcb56d39dddb1.tar.gz vyos-cloud-init-1676825c229e3939ec5b06c494bdcb56d39dddb1.zip |
return public-keys as a list if it is a list
if public-keys in metadata are a list (rather than a dict), then
return them as such.
This allows populating NoCloud keys with:
public-keys:
- ssh-rsa .... myname.mylabel
- ssh-dsa .... myname.mylabel2
Or:
cat <<EOF
public-keys:
$(ssh-add -L | sed 's,^\(.*\), - "\1",')
EOF
Diffstat (limited to 'cloudinit/DataSourceOVF.py')
0 files changed, 0 insertions, 0 deletions