From 8d6bbbed282ea71f7bcf79654f4128537733c20c Mon Sep 17 00:00:00 2001 From: glattercj Date: Thu, 3 Aug 2023 17:31:41 -0600 Subject: [PATCH] fix(vyos): extend first sleep so login commands work --- hack/vyos/packer.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hack/vyos/packer.json b/hack/vyos/packer.json index 16e4f9d8..f295a6d1 100644 --- a/hack/vyos/packer.json +++ b/hack/vyos/packer.json @@ -3,7 +3,7 @@ "variables": { "cpus": "2", "disk_size": "5120", - "headless": "false", + "headless": "true", "http_directory": "{{template_dir}}/http", "iso_checksum": "{{ env `ISO_MD5SUM` }}", "iso_checksum_type": "md5", @@ -14,7 +14,7 @@ "builders": [ { "boot_command": [ - "", + "", "vyosvyos", "install image", "", @@ -65,7 +65,7 @@ "ssh_password": "vyos", "ssh_timeout": "300s", "type": "qemu", - "vm_name": "{{ user `vm_name` }}" + "vm_name": "{{ user `vm_name` }}.qc2" } ], "provisioners": [ @@ -77,12 +77,6 @@ ], "type": "shell" } - ], - "post-processors": [ - { - "type": "shell-local", - "inline": ["mv artifacts/{{user `vm_name`}} artifacts/{{user `vm_name`}}.qc2"] - } ] }