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
diff --git a/functions b/functions
index bb40a48..f31a59a 100644
--- a/functions
+++ b/functions
@@ -82,7 +82,7 @@
# driver will supply default values.
local vmdk_disktype=""
- local vmdk_net_adapter=""
+ local vmdk_net_adapter="e1000"
local path_len
# vmdk adapter type