---
src/task-omatic/taskomatic_instance.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/task-omatic/taskomatic_instance.rb
b/src/task-omatic/taskomatic_instance.rb
index bb28d66..216bb53 100644
--- a/src/task-omatic/taskomatic_instance.rb
+++ b/src/task-omatic/taskomatic_instance.rb
@@ -49,7 +49,8 @@ class TaskomaticInstanceCreate < TaskomaticTask
@logger.info "Creating instance with name #{(a)task.instance.image.external_key},
flavor #{(a)task.instance.flavor.name}, realm #{(a)task.instance.realm.name}"
dcloud_instance = client.create_instance((a)task.instance.image.external_key,
:flavor =>
@task.instance.flavor.external_key,
- :realm =>
@task.instance.realm.external_key)
+ :realm =>
@task.instance.realm.external_key,
+ :name => @task.instance.name)
@logger.info "Instance created with key #{dcloud_instance.id} and state
#{dcloud_instance.state}"
@task.instance.external_key = dcloud_instance.id
@task.instance.state = dcloud_to_instance_state(dcloud_instance.state)
--
1.6.2.5
Show replies by date