From 86900a309aa239a3db52193056480ac0f9b8c0a7 Mon Sep 17 00:00:00 2001 From: Stavros Sachtouris Date: Thu, 21 Nov 2013 17:39:30 +0200 Subject: [PATCH] server create arg type bug: image id not an int --- kamaki/cli/commands/cyclades.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamaki/cli/commands/cyclades.py b/kamaki/cli/commands/cyclades.py index 41b4d29..59e82e8 100644 --- a/kamaki/cli/commands/cyclades.py +++ b/kamaki/cli/commands/cyclades.py @@ -398,7 +398,7 @@ class server_create(_init_cyclades, _optional_json, _server_wait): arguments = dict( server_name=ValueArgument('The name of the new server', '--name'), flavor_id=IntArgument('The ID of the hardware flavor', '--flavor-id'), - image_id=IntArgument('The ID of the hardware image', '--image-id'), + image_id=ValueArgument('The ID of the hardware image', '--image-id'), personality=PersonalityArgument( (80 * ' ').join(howto_personality), ('-p', '--personality')), wait=FlagArgument('Wait server to build', ('-w', '--wait')), -- 1.7.10.4