Skip to content

Commit

Permalink
fix(vyos): extend first sleep so login commands work
Browse files Browse the repository at this point in the history
  • Loading branch information
glattercj authored and activeshadow committed Aug 7, 2023
1 parent 4754da6 commit 8d6bbbe
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions hack/vyos/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -14,7 +14,7 @@
"builders": [
{
"boot_command": [
"<enter><wait3><enter><wait20>",
"<enter><wait3><enter><wait30>",
"vyos<enter><wait>vyos<enter><wait>",
"install image<enter><wait3>",
"<enter><wait3>",
Expand Down Expand Up @@ -65,7 +65,7 @@
"ssh_password": "vyos",
"ssh_timeout": "300s",
"type": "qemu",
"vm_name": "{{ user `vm_name` }}"
"vm_name": "{{ user `vm_name` }}.qc2"
}
],
"provisioners": [
Expand All @@ -77,12 +77,6 @@
],
"type": "shell"
}
],
"post-processors": [
{
"type": "shell-local",
"inline": ["mv artifacts/{{user `vm_name`}} artifacts/{{user `vm_name`}}.qc2"]
}
]
}

0 comments on commit 8d6bbbe

Please sign in to comment.