From d374ca7cc951dff1f95d9a6cf1ce3e8d05166ab4 Mon Sep 17 00:00:00 2001 From: Sven Pfleiderer Date: Fri, 2 Dec 2011 22:11:38 +0100 Subject: [PATCH] Update bootstrap description --- docs/compute/index.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/compute/index.markdown b/docs/compute/index.markdown index 2f94e9283..3b44129b3 100644 --- a/docs/compute/index.markdown +++ b/docs/compute/index.markdown @@ -61,7 +61,7 @@ Cycling servers is great, but in order to actually ssh in we need to setup ssh k server = connection.servers.bootstrap(:private_key_path => '~/.ssh/id_rsa', :public_key_path => '~/.ssh/id_rsa.pub', :username => 'ubuntu') -Bootstrap will create the server, but it will also make sure that port 22 is open for traffic and has ssh keys setup. The ssh key pair you specified will be registered under the name "fog_default" unless you've set `Fog.credential` to a custom string value. In order to hook everything up it will need the server to be running, so by the time it finishes it will be ready. You can then make commands to it directly: +Bootstrap will create the server, but it will also make sure that port 22 is open for traffic and has ssh keys setup. The ssh key pair you specified will be registered under the name "fog_default" unless you've set `Fog.credential` to a custom string value. In order to hook everything up `bootstrap` will need the server to be running, so by the time it finishes it will be ready. You can then make commands to it directly: server.ssh('pwd') server.ssh(['pwd', 'whoami'])