Don't use mirror to init. ubuntu-16 VCP

Prod-related: PROD-25749 (PROD:25749)

Change-Id: I56989a0044fef981597dda8c19819cd43ecefd85
diff --git a/ubuntu-16.04/http/preseed.cfg b/ubuntu-16.04/http/preseed.cfg
index 8eaf33e..ed89955 100644
--- a/ubuntu-16.04/http/preseed.cfg
+++ b/ubuntu-16.04/http/preseed.cfg
@@ -1,4 +1,7 @@
 choose-mirror-bin mirror/http/proxy string
+d-i mirror/country string manual
+d-i apt-setup/use_mirror boolean false
+
 d-i debian-installer/locale string en_US
 d-i debian-installer/language string en
 d-i debian-installer/country EN
@@ -136,8 +139,6 @@
 d-i     partman/confirm boolean true
 d-i     partman/confirm_nooverwrite boolean true
 
-
-
 d-i pkgsel/include string openssh-server
 d-i pkgsel/install-language-support boolean false
 d-i pkgsel/update-policy select none
@@ -146,6 +147,8 @@
 d-i pkgsel/upgrade select none
 
 d-i time/zone string UTC
+d-i passwd/root-password password r00tme
+d-i passwd/root-password-again password r00tme
 d-i passwd/root-login boolean true
 d-i passwd/make-user boolean false
 d-i openssh-server/permit-root-login boolean true
diff --git a/ubuntu-16.04/run.example.sh b/ubuntu-16.04/run.example.sh
old mode 100644
new mode 100755
diff --git a/ubuntu-16.04/template.json b/ubuntu-16.04/template.json
index 3ac2970..7b87e75 100644
--- a/ubuntu-16.04/template.json
+++ b/ubuntu-16.04/template.json
@@ -1,7 +1,7 @@
 {
   "variables": {
     "user": "root",
-    "password": "ho5uo7Uome5d",
+    "password": "r00tme",
     "disk_size": "5000",
     "images_cache": "{{ env `PACKER_IMAGES_CACHE` }}",
     "ubuntu_baseurl": "{{ env `UBUNTU_BASEURL` }}",
@@ -156,8 +156,8 @@
         " passwd/root-password={{ user `password` }} ",
         " passwd/root-password-again={{ user `password` }} ",
         " locale=en_US<wait>",
-        " netcfg/get_hostname=ubuntu-1604<wait>",
-        " netcfg/get_domain=cloudlab.cz<wait>",
+        " netcfg/get_hostname=ubuntu<wait>",
+        " netcfg/get_domain=local<wait>",
         " noapic<wait>",
         " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>",
         " -- <wait>",
@@ -231,8 +231,8 @@
         " passwd/root-password={{user `password`}} ",
         " passwd/root-password-again={{user `password`}} ",
         " locale=en_US<wait>",
-        " netcfg/get_hostname=ubuntu-1604<wait>",
-        " netcfg/get_domain=changeme<wait>",
+        " netcfg/get_hostname=ubuntu<wait>",
+        " netcfg/get_domain=local<wait>",
         " noapic<wait>",
         " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>",
         " -- <wait>",
@@ -282,6 +282,7 @@
       ],
       "vm_name": "{{ user `image_name` }}",
       "output_directory": "images/{{ user `image_name`}}",
+      "boot_key_interval": "50ms",
       "accelerator": "kvm",
       "disk_size": "{{ user `disk_size`}}",
       "iso_checksum": "24636fd103a2a43c95659f1c3c63718e",
@@ -294,7 +295,9 @@
       "ssh_password": "{{user `password`}}",
       "shutdown_command": "sync; sudo /sbin/shutdown -hP now",
       "boot_wait": "2s",
-      "ssh_wait_timeout": "700s",
+      "ssh_wait_timeout": "15m",
+      "ssh_host_port_min": 7050,
+      "ssh_host_port_max": 7060,
       "boot_command": [
         "<enter><wait><f6><esc>",
         "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
@@ -318,8 +321,6 @@
         " kbd-chooser/method=us<wait>",
         " keyboard-configuration/layout=USA<wait>",
         " keyboard-configuration/variant=USA<wait>",
-        " passwd/root-password={{ user `password` }} ",
-        " passwd/root-password-again={{ user `password` }} ",
         " locale=en_US<wait>",
         " netcfg/get_hostname=ubuntu<wait>",
         " netcfg/get_domain=local<wait>",