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