mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-07-17 16:36:26 +00:00
Add "headless" variable for vmware and qemu.
This commit is contained in:
parent
f06bdf5359
commit
bb83901361
2 changed files with 7 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
output/*.box
|
||||
output-qemu/*
|
||||
packer_cache
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
"iso_checksum_url": "https://mirrors.kernel.org/archlinux/iso/2017.01.01/sha1sums.txt",
|
||||
"iso_checksum_type": "sha1",
|
||||
"ssh_timeout": "20m",
|
||||
"country": "US"
|
||||
"country": "US",
|
||||
"headless": "false"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
|
|
@ -69,7 +70,8 @@
|
|||
"ssh_username": "vagrant",
|
||||
"ssh_password": "vagrant",
|
||||
"ssh_timeout": "{{ user `ssh_timeout` }}",
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer"
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer",
|
||||
"headless" : "{{ user `headless`}}"
|
||||
},
|
||||
{
|
||||
"type": "qemu",
|
||||
|
|
@ -88,7 +90,8 @@
|
|||
"ssh_username": "vagrant",
|
||||
"ssh_password": "vagrant",
|
||||
"ssh_timeout": "{{ user `ssh_timeout` }}",
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer"
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer",
|
||||
"headless" : "{{ user `headless`}}"
|
||||
}
|
||||
],
|
||||
"provisioners": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue