diff options
Diffstat (limited to 'scripts/packer.json')
-rw-r--r-- | scripts/packer.json | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/scripts/packer.json b/scripts/packer.json index a390968a..6d487353 100644 --- a/scripts/packer.json +++ b/scripts/packer.json @@ -15,7 +15,7 @@ "shutdown_command": "sudo halt -p", "disk_size": 4096, "format": "raw", - "headless": true, + "headless": false, "accelerator": "tcg", "ssh_host_port_min": 2222, "ssh_host_port_max": 2229, @@ -29,13 +29,9 @@ "boot_wait": "5s", "boot_command": [ - "<enter><wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "vyos<enter><wait>", - "vyos<enter><wait10>", + "<enter><wait3m>", + "vyos<enter><wait5>", + "vyos<wait><enter><wait10>", "install image<enter><wait5>", "<enter><wait5>", "<enter><wait5>", @@ -44,21 +40,19 @@ "<enter><wait10>", "<enter><wait5>", "<enter><wait5>", - "vyos<enter><wait>", "vyos<enter><wait5>", + "vyos<enter><wait10>", "<enter><wait10><wait10>", "reboot<enter><wait5>", - "Yes<enter><wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", - "<wait10><wait10><wait10>", + "Yes<enter><wait3m>", "vyos<enter><wait>", "vyos<enter><wait10>", "configure<enter><wait5>", - "set interface ethernet eth0 address dhcp<enter><wait>", - "set service ssh<enter><wait>", + "set interface ethernet eth0 address dhcp<enter><wait5>", + "set service ssh<enter><wait5>", + "commit<enter><wait5>", + "save<enter><wait5>", + "delete interface ethernet eth0 hw-id<enter><wait5>", "commit<enter><wait5>", "save<enter><wait5>", "exit<enter><wait5>" |