How to configure ssh-keys from meta-data with NoCloud ds
I'm trying to configure ssh keys on my instance through meta-data, but it not works. I don't want to use user-data for this.
I configured a NoCloud-net datasource with a valid URL. The public-ssh-keys field is not filled.
```
root@bm-node01:~# cloud-id --json
{
"_beta_keys": [
"subplatform"
],
"availability-
"availability_
"cloud-name": "unknown",
"cloud_id": "nocloud",
"cloud_name": "unknown",
"distro": "ubuntu",
"distro_release": "bionic",
"distro_version": "18.04",
"instance-id": "nocloud",
"instance_id": "nocloud",
"kernel_release": "4.15.0-
"local-hostname": "node01",
"local_hostname": "node01",
"machine": "x86_64",
"platform": "nocloud",
"public_ssh_keys": [],
"python_version": "3.6.9",
"region": null,
"subplatform": "seed-dir (ds_config_
"system_platform": "Linux-
"variant": "ubuntu"
}
```
How can I do this ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Alexis Camilleri
- Solved:
- Last query:
- Last reply: