From 2ec69d12385599861291c368b8b931c1690c9516 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Fri, 11 Aug 2017 10:42:27 -0400 Subject: [PATCH] Default to headless Packer builds Builds in CI don't have X and fail with obtuse errors when this is true. Change-Id: Id6ada81d7cd35a21d0def28744f0a1086ad56f64 Signed-off-by: Daniel Farrell --- packer/templates/libvirt.json | 1 + packer/templates/virtualbox.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packer/templates/libvirt.json b/packer/templates/libvirt.json index 617dda0..3283436 100644 --- a/packer/templates/libvirt.json +++ b/packer/templates/libvirt.json @@ -13,6 +13,7 @@ "iso_urls": "{{ user `iso_urls` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "sha256", + "headless": "true", "ssh_username": "vagrant", "ssh_password": "vagrant", "ssh_wait_timeout": "60m", diff --git a/packer/templates/virtualbox.json b/packer/templates/virtualbox.json index 1dd5618..61c63b0 100644 --- a/packer/templates/virtualbox.json +++ b/packer/templates/virtualbox.json @@ -15,7 +15,7 @@ "iso_urls": "{{ user `iso_urls` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "sha256", - "headless": "false", + "headless": "true", "ssh_username": "vagrant", "ssh_password": "vagrant", "ssh_wait_timeout": "30m", -- 2.36.6