Skip to content
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

Not clearing known_hosts file #78

Open
dvenrao opened this issue Jan 30, 2018 · 0 comments
Open

Not clearing known_hosts file #78

dvenrao opened this issue Jan 30, 2018 · 0 comments

Comments

@dvenrao
Copy link

dvenrao commented Jan 30, 2018

Versions:

  • v2.0.10

Scenario:

Reusing ip address to vms

Steps to Reproduce:

kitchen create mutiple times reuses IP address

Expected Result:

kitchen create should success

Actual Result:

IP addresses found: repeating forerver

Work around:
add system("ssh-keygen -f ~/.ssh/known_hosts -R vm_ip") line at driver.rb file line number 478.
So it clears knows_hosts file entry signature before ssh login to new instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant