-
Notifications
You must be signed in to change notification settings - Fork 334
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
Updated Readme for --server-connect-attribute option #388
Updated Readme for --server-connect-attribute option #388
Conversation
@btm, can you take a look? |
We're losing the benefit of If it's not convenient to assign the variable from the output of the conditional like it previously did, you could wrap that in another conditional. I think this looks simpler:
|
end | ||
end | ||
puts | ||
puts "SSH Target Address: #{connect_attribute}(#{@ssh_connect_host})" |
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.
as in my example in my first comment, I'd combine these two lines, and instead put the thing we're connecting to first with the attribute we used to get that in the parentheses.
@btm, fixed the review comments. Please check. |
|
||
# Pass --server-connect-attribute if the machine is in VPC mode | ||
# Possible values of --server-connect-attribute: private_dns_name, private_ip_address, public_dns_name, public_ip_address | ||
# If --server-connect-attribute is not specified, then EIP is used as External IP |
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.
EIP means Elastic IP (which is a public IP). Not all instances have an Elastic IP assigned to them. So this isn't true.
I would say "If --server-connect-attribute is not specified, knife attempts to determine if connecting to the instance's public or private IP is most appropriate based on other settings."
@btm , please verify again |
👍 |
…ttribute-doc Updated Readme for --server-connect-attribute option
w.r.t #379