ggiamarchi / vagrant-openstack-provider

Use Vagrant to manage OpenStack Cloud instances.
MIT License
245 stars 102 forks source link

Support for dynamically generated password for Windows boxes (Issue#318) #319

Open fred06fr opened 7 years ago

fred06fr commented 7 years ago

Here is a proposal for implementing Issue #318 Basically it adds a new special value to winrm.password, so that if you define config.winrm.password = :dynamic the password needed to connect using winrm will be taken from Open Stack (i.e. nova get-password). This is useful for images that dynamically create passwords.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.2%) to 90.066% when pulling 61bdfe539e0ade6c1a25163b68aa549648c39a33 on fred06fr:add-support-dynamic-password into 876ad73d4af37365f3db0faccf8a8ba750dca7b8 on ggiamarchi:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.2%) to 90.066% when pulling 13a0276926c8c4ef489107b9392d4aa8a9ff8ce5 on fred06fr:add-support-dynamic-password into 876ad73d4af37365f3db0faccf8a8ba750dca7b8 on ggiamarchi:master.

fred06fr commented 7 years ago

@ggiamarchi tell me if anything missing. Merge would help to distribute this more easily. Thanks!

ggiamarchi commented 6 years ago

@fred06fr Sorry for the very long time... Can you provide a box we can use (and a Vagrantfile) to test this one ?