5 "<tab> text biosdevname=0 net.ifnames=0 ",
6 "ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
11 "disk_interface": "virtio-scsi",
12 "http_directory": "http",
13 "iso_checksum": "101bc813d2af9ccf534d112cbe8670e6d900425b297d1a4d2529c5ad5f226372",
14 "iso_checksum_type": "sha256",
15 "iso_url": "http://centos.osuosl.org/7.8.2003/isos/x86_64/CentOS-7-x86_64-NetInstall-2003.iso",
16 "output_directory": "image",
17 "qemuargs": [ [ "-m", "1024M" ]],
18 "shutdown_command": "echo 'centos'|sudo -S /sbin/halt -h -p",
19 "ssh_password": "centos",
21 "ssh_username": "centos",
22 "ssh_wait_timeout": "10000s",
24 "vm_name": "packer-centos-7-x86_64-openstack",
25 "vnc_bind_address": "0.0.0.0",
31 "image_name": "testvnf_image",
32 "identity_endpoint": "{{user `identiy_endpoint`}}",
33 "username": "{{user `username`}}",
34 "password": "{{user `password`}}",
35 "ssh_username": "centos",
36 "networks" : "{{user `networks`}}",
37 "source_image": "{{user `source_image`}}",
38 "flavor": "{{user `flavor`}}",
39 "domain_name": "{{user `domain_name`}}",
41 "use_floating_ip": "true",
42 "floating_ip_network" : "{{user `floating_ip_network`}}"
48 "execute_command": "echo testvnf | {{.Vars}} sudo -S -E bash '{{.Path}}'",
49 "script": "scripts/ansible.sh"
53 "source": "scripts/deploycentostools.sh",
54 "destination": "deploycentostools.sh"
57 "type": "ansible-local",
58 "playbook_file": "playbook.yml"
62 "source": "{{user `ssh_path`}}",
67 "execute_command": "echo testvnf | {{.Vars}} sudo -S -E bash '{{.Path}}'",
68 "script": "scripts/sshConfig.sh"