1
0
Fork 0
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:
geemus 2010-06-01 18:08:56 -07:00
parent b162b21cc4
commit 036d0e4b39

View file

@ -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? }