"vm_volume_size": "20",
"vm_image_disk_format": "",
"distro": null,
+ "docker_source_image": null,
"flavor": "v3-standard-2",
"ssh_user": null,
"ssh_proxy_host": ""
"use_blockstorage_volume": "{{user `vm_use_block_storage`}}",
"volume_size": "{{user `vm_volume_size`}}",
"image_disk_format": "{{user `vm_image_disk_format`}}"
+ },
+ {
+ "name": "docker",
+ "type": "docker",
+ "image": "{{ user `docker_source_image` }}",
+ "commit": true,
+ "changes": ["ENTRYPOINT [\"\"]", "CMD [\"\"]"]
}
],
"provisioners": [
{
"type": "ansible",
"playbook_file": "provision/mininet-ovs-2.8.yaml",
+ "command": "./common-packer/ansible-playbook.sh",
+ "skip_version_check": true,
"ansible_env_vars": [
"ANSIBLE_NOCOWS=1",
"ANSIBLE_PIPELINING=True",
"ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
"ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
"ANSIBLE_STDOUT_CALLBACK=debug"
+ ],
+ "extra_arguments": [
+ "--ssh-extra-args",
+ "-o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa"
]
}
]