From 46a141b88680e06c7f8f2f60d16da9c29fee12a9 Mon Sep 17 00:00:00 2001 From: Lee Huffman Date: Wed, 24 Aug 2011 13:01:36 -0700 Subject: [PATCH] Pass hostname to create_block request if provided. --- lib/fog/compute/models/bluebox/server.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/compute/models/bluebox/server.rb b/lib/fog/compute/models/bluebox/server.rb index 4bdc98ce2..b1c169bdb 100644 --- a/lib/fog/compute/models/bluebox/server.rb +++ b/lib/fog/compute/models/bluebox/server.rb @@ -102,6 +102,7 @@ module Fog end options['username'] = username + options['hostname'] = hostname if @hostname data = connection.create_block(flavor_id, image_id, options) merge_attributes(data.body) true