2017-06-22 08:12:03 |
Bob Ball |
description |
The admin passwd is not rejected into metadata:
stack@DevStackOSDomU:~$ nova boot --image cirros-0.3.5-x86_64-disk --nic net-id=60f82bcc-dfed-4825-8832-4a9331e2df2c --flavor 1 --admin-pass admin testVM
# the pass is not set and the specified admin passwd is not included in metadata.
$ hostname
testvm
$ wget http://169.254.169.254/openstack/latest/meta_data.json
Connecting to 169.254.169.254 (169.254.169.254:80)
meta_data.json 100% |***************************************************************************************************| 914 0:00:00 ETA
$ grep admin meta_data.json |
The admin passwd is not injected into metadata for Windows VMs, meaning cloud-init cannot set the password.
stack@DevStackOSDomU:~$ nova boot --image cirros-0.3.5-x86_64-disk --nic net-id=60f82bcc-dfed-4825-8832-4a9331e2df2c --flavor 1 --admin-pass admin testVM
# the pass is not set and the specified admin passwd is not included in metadata.
$ hostname
testvm
$ wget http://169.254.169.254/openstack/latest/meta_data.json
Connecting to 169.254.169.254 (169.254.169.254:80)
meta_data.json 100% |***************************************************************************************************| 914 0:00:00 ETA
$ grep admin meta_data.json |
|