From: David Lutterkort <lut...@redhat.com>

The regexp we pass in to indicate how to split the file path/file content
string should allow for ':' in the file contents.

Signed-off-by: David Lutterkort <lut...@redhat.com>
---
 .../lib/deltacloud/drivers/rhevm/rhevm_client.rb   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb 
b/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb
index b6704b0..4e31027 100644
--- a/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb
+++ b/server/lib/deltacloud/drivers/rhevm/rhevm_client.rb
@@ -125,7 +125,7 @@ module RHEVM
                 custom_property({
                   :name => "floppyinject",
                   :value => 
"#{RHEVM::FILEINJECT_PATH}:#{Base64.decode64(opts[:user_data])}",
-                  :regexp => "^.*:.*$"})
+                  :regexp => "^([^:]+):(.*)$"})
               }
             else
               raise BackendVersionUnsupportedException.new
-- 
1.7.6

Reply via email to