mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix readme server creation
This commit is contained in:
parent
b162b21cc4
commit
036d0e4b39
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ As an example, we'll try initializing and persisting a rackspace server:
|
|||
)
|
||||
|
||||
# boot a gentoo server (flavor 1 = 256, image 3 = gentoo 2008.0)
|
||||
server = connection.servers.new(:flavor_id => 1, :image_id => 3, :name => 'my_server')
|
||||
server = connection.servers.create(:flavor_id => 1, :image_id => 3, :name => 'my_server')
|
||||
|
||||
# wait for it to be ready to do stuff
|
||||
server.wait_for { ready? }
|
||||
|
|
Loading…
Reference in a new issue