From 88cde0b3da7102cd28b3b44fbf6112b17303b27d Mon Sep 17 00:00:00 2001 From: Sabari Kumar Murugesan Date: Thu, 4 Dec 2014 17:48:26 -0800 Subject: [PATCH] VMware: add default image metadata for hw_vif_model During glance image-create we are currently setting a null value for the hw_vif_model, if we are unable to introspect from the vmdk file. This patch adds a default value if not found. Change-Id: I6d0f551b18f03e2a799ae14c3347652a285693f0 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index bb40a481bd..f31a59afac 100644 --- a/functions +++ b/functions @@ -82,7 +82,7 @@ function upload_image { # driver will supply default values. local vmdk_disktype="" - local vmdk_net_adapter="" + local vmdk_net_adapter="e1000" local path_len # vmdk adapter type