mitchellh / vagrant-rackspace

Use Vagrant to manage Rackspace Cloud instances.
MIT License
236 stars 155 forks source link

Windows WinRM Authorization #148

Open derks opened 8 years ago

derks commented 8 years ago

In the README, the following is referenced in the example Vagrantfile regarding Windows configuration:

windows.winrm.password = ENV['VAGRANT_ADMIN_PASSWORD']

However, when building a windows image in Rackspace the Administrator password is automatically generated by Rackspace, and is also the default password for the Administrator account for WinRM authentication (once WinRM is enabled). Shouldn't Vagrant automatically be setting windows.winrm.password to the password generated by Rackspace (and subsequently returned by Rackspace when initially creating the VM)?

Issue is that, in local development (VirtualBox) I can control the Administrator Username/Password that is baked into the image... but for VM's created by Rackspace the password is automatically generated. I guess I'm just not connecting the dots to how using ENV['VAGRANT_ADMIN_PASSWORD'] will work if Rackspace is generating the password?

Thanks... any help is appreciated.

derks commented 8 years ago

Ping?