1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Reduce from 80GB to 20GB - big enough, save space.

This commit is contained in:
Sean Handley 2012-07-16 21:01:21 +02:00
parent 759e43f058
commit 7f8c8b445b
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ Shindo.tests('Fog::Compute[:serverlove] | drive requests', ['serverlove']) do
tests('success') do
attributes = { 'name' => 'Test', 'size' => '84234567890' }
attributes = { 'name' => 'Test', 'size' => '24234567890' }
tests("#create_image").formats(@image_format) do
@image = Fog::Compute[:serverlove].create_image(attributes).body

View file

@ -35,7 +35,7 @@ Shindo.tests('Fog::Compute[:serverlove] | server requests', ['serverlove']) do
end
tests("assigns drive to server").succeeds do
@image = Fog::Compute[:serverlove].create_image('name' => 'Test', 'size' => '84234567890').body
@image = Fog::Compute[:serverlove].create_image('name' => 'Test', 'size' => '24234567890').body
# Load debian
Fog::Compute[:serverlove].load_standard_image(@image['drive'], 'aca2fa0b-40bc-4e06-ad99-f1467690d5de')
Fog::Compute[:serverlove].update_server(@server['server'], { 'ide:0:0' => @image['drive'], 'boot' => 'ide:0:0'})