Created
October 2, 2015 15:35
-
-
Save equick/de0863a853e24687879c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diff -u openstack.rb.orig openstack.rb | |
--- openstack.rb.orig 2015-10-02 15:55:50.275001569 +0100 | |
+++ openstack.rb 2015-10-02 16:33:21.998001380 +0100 | |
@@ -102,7 +102,7 @@ | |
elsif config[:floating_ip_pool] | |
attach_ip_from_pool(server, config[:floating_ip_pool]) | |
end | |
- wait_for_server(state) | |
+ #wait_for_server(state) | |
setup_ssh(server, state) if bourne_shell? | |
add_ohai_hint(state) | |
rescue Fog::Errors::Error, Excon::Errors::Error => ex | |
@@ -368,11 +368,11 @@ | |
config[:username], | |
password: config[:password] || server.password) | |
pub_key = open(config[:public_key_path]).read | |
- ssh.run([ | |
- %(mkdir .ssh), | |
- %(echo "#{pub_key}" >> ~/.ssh/authorized_keys), | |
- %(passwd -l #{config[:username]}) | |
- ]) | |
+ #ssh.run([ | |
+ # %(mkdir .ssh), | |
+ # %(echo "#{pub_key}" >> ~/.ssh/authorized_keys), | |
+ # %(passwd -l #{config[:username]}) | |
+ #]) | |
end | |
def disable_ssl_validation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment