Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 1 | { |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 2 | "variables": { |
| 3 | "user": "root", |
| 4 | "password": "ho5uo7Uome5d", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 5 | "distro": "ubuntu-16-04-x64", |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 6 | "disk_size": "8000", |
azvyagintsev | 0f697cf | 2018-06-22 11:44:13 +0300 | [diff] [blame] | 7 | "images_cache": "{{ env `PACKER_IMAGES_CACHE` }}", |
azvyagintsev | 5a38855 | 2018-04-03 21:25:23 +0300 | [diff] [blame] | 8 | "ubuntu_baseurl": "https://mirror.mirantis.com/proposed/ubuntu/", |
Jiri Broulik | 2ad150e | 2018-04-19 17:48:55 +0200 | [diff] [blame] | 9 | "saltstack_gpg": "{{ env `SALTSTACK_GPG` }}", |
| 10 | "saltstack_repo": "{{ env `SALTSTACK_REPO` }}", |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 11 | "do_api_token": "{{ env `DO_API_TOKEN` }}", |
Jiri Broulik | 0b21167 | 2018-04-11 09:35:47 +0200 | [diff] [blame] | 12 | "image_name": "{{ env `IMAGE_NAME` }}", |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 13 | "os_username": "{{ env `OS_USERNAME` }}", |
| 14 | "os_password": "{{ env `OS_PASSWORD` }}", |
| 15 | "os_image": "7451fac0-0ce5-4d30-ae36-cd9a90e7948e", |
| 16 | "os_endpoint": "https://cloud-cz.bud.mirantis.net:5000/v2.0", |
| 17 | "os_zone": "mcp-mk", |
| 18 | "os_floating_ip_pool": "public", |
| 19 | "os_tenant": "26e4dd19485249608ee3685f254f3909", |
| 20 | "os_network": "772f8ca6-1f4a-4535-99d0-880d6ead9a82" |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 21 | }, |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 22 | "provisioners": [ |
| 23 | { |
azvyagintsev | 5a38855 | 2018-04-03 21:25:23 +0300 | [diff] [blame] | 24 | "type": "shell", |
| 25 | "execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}", |
| 26 | "expect_disconnect": "true", |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 27 | "environment_vars": [ |
| 28 | "UBUNTU_BASEURL={{ user `ubuntu_baseurl` }}", |
azvyagintsev | 5a38855 | 2018-04-03 21:25:23 +0300 | [diff] [blame] | 29 | "SALTSTACK_GPG={{ user `saltstack_gpg` }}", |
| 30 | "SALTSTACK_REPO={{ user `saltstack_repo` }}" |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 31 | ], |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 32 | "override": { |
| 33 | "virtualbox-iso": { |
| 34 | "scripts": [ |
| 35 | "scripts/base.sh", |
azvyagintsev | c0d1b8a | 2018-03-22 19:05:03 +0200 | [diff] [blame] | 36 | "scripts/motd.sh", |
Jakub Josef | 6bcf386 | 2017-05-03 16:16:39 +0200 | [diff] [blame] | 37 | "scripts/salt.sh", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 38 | "scripts/network.sh", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 39 | "scripts/vagrant.sh", |
| 40 | "scripts/virtualbox.sh", |
| 41 | "scripts/security.sh", |
| 42 | "scripts/cleanup.sh", |
| 43 | "scripts/zerodisk.sh" |
| 44 | ] |
| 45 | }, |
| 46 | "vmware-iso": { |
| 47 | "scripts": [ |
| 48 | "scripts/base.sh", |
azvyagintsev | c0d1b8a | 2018-03-22 19:05:03 +0200 | [diff] [blame] | 49 | "scripts/motd.sh", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 50 | "scripts/salt.sh", |
| 51 | "scripts/vmware.sh", |
| 52 | "scripts/security.sh", |
| 53 | "scripts/cleanup.sh", |
| 54 | "scripts/zerodisk.sh" |
| 55 | ] |
| 56 | }, |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 57 | "qemu": { |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 58 | "scripts": [ |
| 59 | "scripts/base.sh", |
azvyagintsev | c0d1b8a | 2018-03-22 19:05:03 +0200 | [diff] [blame] | 60 | "scripts/motd.sh", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 61 | "scripts/salt.sh", |
Jakub Josef | 6bcf386 | 2017-05-03 16:16:39 +0200 | [diff] [blame] | 62 | "scripts/network.sh", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 63 | "scripts/security.sh", |
| 64 | "scripts/cleanup.sh", |
azvyagintsev | 1726e80 | 2018-06-15 16:55:44 +0300 | [diff] [blame] | 65 | "scripts/info.sh", |
| 66 | "scripts/zerodisk.sh" |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 67 | ] |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 68 | }, |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 69 | "openstack": { |
| 70 | "scripts": [ |
| 71 | "scripts/base.sh", |
| 72 | "scripts/motd.sh", |
| 73 | "scripts/salt.sh", |
| 74 | "scripts/network.sh", |
| 75 | "scripts/security.sh", |
| 76 | "scripts/cleanup.sh", |
azvyagintsev | 1726e80 | 2018-06-15 16:55:44 +0300 | [diff] [blame] | 77 | "scripts/info.sh", |
| 78 | "scripts/zerodisk.sh" |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 79 | ] |
| 80 | }, |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 81 | "docker": { |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 82 | "scripts": [ |
| 83 | "scripts/docker.sh", |
| 84 | "scripts/base.sh", |
azvyagintsev | c0d1b8a | 2018-03-22 19:05:03 +0200 | [diff] [blame] | 85 | "scripts/motd.sh", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 86 | "scripts/salt.sh", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 87 | "scripts/cleanup.sh" |
| 88 | ] |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 89 | }, |
| 90 | "digitalocean": { |
| 91 | "scripts": [ |
| 92 | "scripts/base.sh", |
azvyagintsev | c0d1b8a | 2018-03-22 19:05:03 +0200 | [diff] [blame] | 93 | "scripts/motd.sh", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 94 | "scripts/salt.sh", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 95 | "scripts/security.sh", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 96 | "scripts/cleanup.sh" |
| 97 | ] |
| 98 | } |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 99 | } |
| 100 | }, |
| 101 | { |
| 102 | "type": "file", |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 103 | "source": "files/etc/cloud/cloud.cfg.d/99_tcp.cfg", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 104 | "destination": "/etc/cloud/cloud.cfg.d/99_tcp.cfg" |
| 105 | }, |
| 106 | { |
| 107 | "type": "file", |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 108 | "source": "files/etc/cloud/cloud.cfg", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 109 | "destination": "/etc/cloud/cloud.cfg" |
| 110 | } |
| 111 | ], |
| 112 | "post-processors": [ |
| 113 | { |
| 114 | "type": "vagrant", |
| 115 | "keep_input_artifact": true, |
Jiri Broulik | 0b21167 | 2018-04-11 09:35:47 +0200 | [diff] [blame] | 116 | "output": "images/{{ user `image_name` }}-{{.Provider}}-{{ isotime \"200601021504\" }}.box", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 117 | "except": [ |
| 118 | "digitalocean", |
| 119 | "docker" |
| 120 | ] |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 121 | }, |
| 122 | { |
| 123 | "type": "docker-tag", |
Filip Pytloun | c2b0ca0 | 2016-06-09 16:26:30 +0200 | [diff] [blame] | 124 | "repository": "tcpcloud/ubuntu", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 125 | "tag": "16.04", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 126 | "only": [ |
| 127 | "docker" |
| 128 | ] |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 129 | }, |
| 130 | { |
| 131 | "type": "docker-save", |
Jiri Broulik | 0b21167 | 2018-04-11 09:35:47 +0200 | [diff] [blame] | 132 | "path": "images/{{ user `image_name` }}-docker-{{ isotime \"200601021504\" }}.tar", |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 133 | "only": [ |
| 134 | "docker" |
| 135 | ] |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 136 | } |
| 137 | ], |
| 138 | "builders": [ |
| 139 | { |
| 140 | "type": "virtualbox-iso", |
| 141 | "boot_command": [ |
| 142 | "<esc><wait>", |
| 143 | "<esc><wait>", |
| 144 | "<enter><wait>", |
| 145 | "/install/vmlinuz<wait>", |
| 146 | " auto<wait>", |
| 147 | " console-setup/ask_detect=false<wait>", |
| 148 | " console-setup/layoutcode=us<wait>", |
| 149 | " console-setup/modelcode=pc105<wait>", |
| 150 | " debconf/frontend=noninteractive<wait>", |
| 151 | " debian-installer=en_US<wait>", |
| 152 | " fb=false<wait>", |
| 153 | " initrd=/install/initrd.gz<wait>", |
| 154 | " kbd-chooser/method=us<wait>", |
| 155 | " keyboard-configuration/layout=USA<wait>", |
| 156 | " keyboard-configuration/variant=USA<wait>", |
| 157 | " passwd/root-password={{user `password`}} ", |
| 158 | " passwd/root-password-again={{user `password`}} ", |
| 159 | " locale=en_US<wait>", |
| 160 | " netcfg/get_hostname=ubuntu-1604<wait>", |
| 161 | " netcfg/get_domain=cloudlab.cz<wait>", |
| 162 | " noapic<wait>", |
| 163 | " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>", |
| 164 | " -- <wait>", |
| 165 | "<enter><wait>" |
| 166 | ], |
| 167 | "boot_wait": "5s", |
| 168 | "disk_size": "{{ user `disk_size`}}", |
Filip Pytloun | 451bc98 | 2017-03-13 16:21:24 +0100 | [diff] [blame] | 169 | "output_directory": "images/{{ user `distro` }}-vbox-{{ isotime \"200601021504\" }}", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 170 | "guest_os_type": "Ubuntu_64", |
| 171 | "http_directory": "http", |
Jakub Josef | a59d0fb | 2017-09-04 13:26:15 +0200 | [diff] [blame] | 172 | "iso_checksum": "10fcd20619dce11fe094e960c85ba4a9", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 173 | "iso_checksum_type": "md5", |
Jakub Josef | a59d0fb | 2017-09-04 13:26:15 +0200 | [diff] [blame] | 174 | "iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.3-server-amd64.iso", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 175 | "ssh_username": "{{user `user`}}", |
| 176 | "ssh_password": "{{user `password`}}", |
| 177 | "ssh_port": 22, |
| 178 | "ssh_wait_timeout": "10000s", |
azvyagintsev | 29410ee | 2018-07-12 20:02:30 +0300 | [diff] [blame^] | 179 | "shutdown_command": "pgrep -f 'sshd: root@' | xargs kill -9 ; shutdown -P now", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 180 | "headless": true, |
| 181 | "vboxmanage": [ |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 182 | [ |
| 183 | "modifyvm", |
| 184 | "{{.Name}}", |
| 185 | "--memory", |
| 186 | "1024" |
| 187 | ], |
| 188 | [ |
| 189 | "modifyvm", |
| 190 | "{{.Name}}", |
| 191 | "--cpus", |
| 192 | "2" |
| 193 | ], |
| 194 | [ |
| 195 | "modifyvm", |
| 196 | "{{.Name}}", |
| 197 | "--vrde", |
| 198 | "on" |
| 199 | ], |
| 200 | [ |
| 201 | "modifyvm", |
| 202 | "{{.Name}}", |
| 203 | "--vrdeport", |
| 204 | "5000-5050" |
| 205 | ], |
| 206 | [ |
| 207 | "modifyvm", |
| 208 | "{{.Name}}", |
| 209 | "--vrdeaddress", |
| 210 | "127.0.0.1" |
| 211 | ] |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 212 | ] |
| 213 | }, |
| 214 | { |
| 215 | "type": "vmware-iso", |
| 216 | "boot_command": [ |
| 217 | "<esc><wait>", |
| 218 | "<esc><wait>", |
| 219 | "<enter><wait>", |
| 220 | "/install/vmlinuz<wait>", |
| 221 | " auto<wait>", |
| 222 | " console-setup/ask_detect=false<wait>", |
| 223 | " console-setup/layoutcode=us<wait>", |
| 224 | " console-setup/modelcode=pc105<wait>", |
| 225 | " debconf/frontend=noninteractive<wait>", |
| 226 | " debian-installer=en_US<wait>", |
| 227 | " fb=false<wait>", |
| 228 | " initrd=/install/initrd.gz<wait>", |
| 229 | " kbd-chooser/method=us<wait>", |
| 230 | " keyboard-configuration/layout=USA<wait>", |
| 231 | " keyboard-configuration/variant=USA<wait>", |
| 232 | " passwd/root-password={{user `password`}} ", |
| 233 | " passwd/root-password-again={{user `password`}} ", |
| 234 | " locale=en_US<wait>", |
| 235 | " netcfg/get_hostname=ubuntu-1604<wait>", |
| 236 | " netcfg/get_domain=changeme<wait>", |
| 237 | " noapic<wait>", |
| 238 | " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>", |
| 239 | " -- <wait>", |
| 240 | "<enter><wait>" |
| 241 | ], |
| 242 | "boot_wait": "5s", |
| 243 | "disk_size": "{{ user `disk_size`}}", |
| 244 | "disk_type_id": 4, |
Jiri Broulik | 0b21167 | 2018-04-11 09:35:47 +0200 | [diff] [blame] | 245 | "vmdk_name": "{{ user `image_name`}}", |
Filip Pytloun | 451bc98 | 2017-03-13 16:21:24 +0100 | [diff] [blame] | 246 | "output_directory": "images/{{ user `distro` }}-vmware-{{ isotime \"200601021504\" }}", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 247 | "guest_os_type": "linux", |
| 248 | "http_directory": "http", |
Jakub Josef | d65a5fb | 2017-09-04 16:03:17 +0200 | [diff] [blame] | 249 | "iso_checksum": "10fcd20619dce11fe094e960c85ba4a9", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 250 | "iso_checksum_type": "md5", |
Jakub Josef | d65a5fb | 2017-09-04 16:03:17 +0200 | [diff] [blame] | 251 | "iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.3-server-amd64.iso", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 252 | "ssh_username": "{{user `user`}}", |
| 253 | "ssh_password": "{{user `password`}}", |
| 254 | "ssh_port": 22, |
| 255 | "ssh_wait_timeout": "10000s", |
azvyagintsev | 29410ee | 2018-07-12 20:02:30 +0300 | [diff] [blame^] | 256 | "shutdown_command": "pgrep -f 'sshd: root@' | xargs kill -9 ; shutdown -P now", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 257 | "vmx_data": { |
| 258 | "memsize": "1024", |
| 259 | "numvcpus": "1", |
| 260 | "cpuid.coresPerSocket": "1" |
| 261 | } |
| 262 | }, |
| 263 | { |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 264 | "type": "docker", |
| 265 | "image": "ubuntu:16.04", |
| 266 | "commit": true |
| 267 | }, |
| 268 | { |
| 269 | "type": "digitalocean", |
| 270 | "api_token": "{{user `do_api_token`}}", |
Jiri Broulik | 0b21167 | 2018-04-11 09:35:47 +0200 | [diff] [blame] | 271 | "image": "{{user `image_name`}}", |
| 272 | "snapshot_name": "{{ user `image_name` }}-{{ isotime \"200601021504\" }}", |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 273 | "region": "ams2", |
| 274 | "size": "1gb" |
| 275 | }, |
| 276 | { |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 277 | "type": "qemu", |
Filip Pytloun | 56cf9e3 | 2016-02-19 09:56:08 +0100 | [diff] [blame] | 278 | "qemuargs": [ |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 279 | [ "-m", "1024M" ], |
| 280 | [ "-fda", "config-drive/cloudata.iso" ] |
Filip Pytloun | 56cf9e3 | 2016-02-19 09:56:08 +0100 | [diff] [blame] | 281 | ], |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 282 | "vm_name": "{{ user `image_name` }}-{{ isotime \"200601021504\" }}", |
| 283 | "output_directory": "images/{{ user `image_name` }}-qemu-{{ isotime \"200601021504\" }}", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 284 | "format": "qcow2", |
Richard Felkl | a5a4426 | 2018-03-12 15:11:32 +0100 | [diff] [blame] | 285 | "iso_checksum": "566efef1d6f12e7d3a994c2405bdb642", |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 286 | "iso_checksum_type": "md5", |
alexz | 8c4cfc7 | 2018-03-23 13:56:10 +0100 | [diff] [blame] | 287 | "iso_url": "http://cloud-images.ubuntu.com/releases/xenial/release-20180306/ubuntu-16.04-server-cloudimg-amd64-disk1.img", |
azvyagintsev | 0f697cf | 2018-06-22 11:44:13 +0300 | [diff] [blame] | 288 | "iso_target_path": "{{ user `images_cache`}}/release-20180306_xenial-server-cloudimg-amd64-disk1.img", |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 289 | "disk_image": true, |
azvyagintsev | 0adfe68 | 2018-06-13 16:29:40 +0300 | [diff] [blame] | 290 | "disk_compression": true, |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 291 | "accelerator": "kvm", |
| 292 | "disk_size": "{{ user `disk_size`}}", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 293 | "headless": true, |
| 294 | "ssh_username": "{{user `user`}}", |
| 295 | "ssh_password": "{{user `password`}}", |
azvyagintsev | 0adfe68 | 2018-06-13 16:29:40 +0300 | [diff] [blame] | 296 | "ssh_host_port_min": 7000, |
| 297 | "ssh_host_port_max": 7050, |
azvyagintsev | 29410ee | 2018-07-12 20:02:30 +0300 | [diff] [blame^] | 298 | "shutdown_command": "pgrep -f 'sshd: root@' | xargs kill -9 ; shutdown -P now", |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 299 | "boot_wait": "2s", |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 300 | "ssh_wait_timeout": "360s" |
azvyagintsev | d8f8523 | 2017-10-02 15:30:28 +0300 | [diff] [blame] | 301 | }, |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 302 | { |
azvyagintsev | 4053eb2 | 2018-03-29 16:21:51 +0300 | [diff] [blame] | 303 | "type": "openstack", |
| 304 | "ssh_username": "{{user `user`}}", |
| 305 | "ssh_password": "{{user `password`}}", |
| 306 | "image_name": "{{user `image_name`}}", |
| 307 | "floating_ip_pool": "{{user `os_floating_ip_pool`}}", |
| 308 | "reuse_ips": "true", |
| 309 | "source_image": "{{ user `os_image` }}", |
| 310 | "flavor": "{{ user `os_flavor` }}", |
| 311 | "user_data_file": "config-drive/user-data.yaml", |
| 312 | "tenant_id": "{{ user `os_tenant` }}", |
| 313 | "networks": ["{{ user `os_network` }}"], |
| 314 | "availability_zone": "{{user `os_zone`}}", |
| 315 | "identity_endpoint": "{{user `os_endpoint`}}", |
| 316 | "username": "{{user `os_username`}}", |
| 317 | "password": "{{user `os_password`}}" |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 318 | } |
| 319 | ] |
alexz | 5b79514 | 2018-02-13 15:59:28 +0100 | [diff] [blame] | 320 | } |