Use cloud-user name if specified for generation config-drive

Change-Id: Id884d8be49024bd809fdea58eb2e6196071fd7eb
Related-Prod: PROD-28144 (PROD:28144)
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index c407d7c..ac6b918 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -242,7 +242,10 @@
                     if (outdateGeneration) {
                         args.add('--ssh-key failsafe-ssh-key.pub')
                     } else {
-                        args.add('--ssh-keys failsafe-ssh-key.pub')
+                        if (context.get('cfg_failsafe_user')) {
+                            args.add('--ssh-keys failsafe-ssh-key.pub')
+                            args.add("--cloud-user-name ${context.get('cfg_failsafe_user')}")
+                        }
                     }
                 }
                 // load data from model