-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: added support for winrm_password for windows custom images #114
Conversation
Signed-off-by: Ujjwal Kumar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality works, Changes suggested on nomenclature.
README.md
Outdated
@@ -225,6 +225,7 @@ ssh_port | int | Optional | The port that SSH will be available on. Defaults to | |||
ssh_timeout | string | Optional | The time to wait for SSH to become available before timing out. The format of this value is a duration such as "5s" or "5m". | |||
***Windows Communicator Variables*** | | |||
winrm_username | string | Optional | The username to use to connect to WinRM. | |||
winrm_login_password | string | Optional | The password to use to connect to WinRM. (For custom windows images) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend winrm_password
keyword in parity with existing winrm_username
builder/ibmcloud/vpc/config.go
Outdated
@@ -45,6 +45,8 @@ type Config struct { | |||
VSIUserDataFile string `mapstructure:"vsi_user_data_file"` | |||
VSIUserDataString string `mapstructure:"vsi_user_data"` | |||
|
|||
WinRMLoginPassword string `mapstructure:"winrm_login_password"` | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
tested. lgtm |
No description provided.