Switch ubuntu16-qemu to use qcow2 cloud disk

 * Remove long and usless step with installing system from iso
 * Misc refactor changes
 * requirement: cloud-localds

Change-Id: If5fe43104d71c53ab5f510d3efa529ed40c4e9c3
diff --git a/Jenkinsfile b/Jenkinsfile
index 954ecac..be3bd4d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -74,6 +74,13 @@
                         PACKER_ARGS = "${PACKER_ARGS} -debug"
                     }
 
+                    if (fileExists("config-drive/user-data.yaml")) {
+                        common.infoMsg("Creating cloud-config drive")
+                        if (fileExists("config-drive/cloudata.iso")) {
+                        sh "rm -v config-drive/cloudata.iso"
+                        }
+                        sh "cloud-localds config-drive/cloudata.iso  config-drive/user-data.yaml"
+                    }
                     sh "packer build -only=${BUILD_ONLY} ${PACKER_ARGS} -parallel=false template.json"
 
                     def packerStatus = sh(script: "grep \"Some builds didn't complete successfully and had errors\" ${PACKER_LOG_PATH}", returnStatus: true)