diff options
author | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2016-03-05 22:43:57 +0900 |
---|---|---|
committer | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2016-03-05 22:43:57 +0900 |
commit | b0fbefc7b96ee0d939cf82aef4e51bfb67bd39c7 (patch) | |
tree | 5e0db7e1dc2e847eb05490690a8b59d47de9680d | |
parent | 08a6856b3c8f3146343647f996fca9c48fb4e960 (diff) | |
download | vyos-build-b0fbefc7b96ee0d939cf82aef4e51bfb67bd39c7.tar.gz vyos-build-b0fbefc7b96ee0d939cf82aef4e51bfb67bd39c7.zip |
Change accelerator to tcg from kvm and ajust boot command in packer.json (ref T12)
-rw-r--r-- | scripts/packer.json | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/scripts/packer.json b/scripts/packer.json index 5d5f201e..a390968a 100644 --- a/scripts/packer.json +++ b/scripts/packer.json @@ -16,46 +16,52 @@ "disk_size": 4096, "format": "raw", "headless": true, - "accelerator": "kvm", + "accelerator": "tcg", "ssh_host_port_min": 2222, "ssh_host_port_max": 2229, "ssh_username": "vyos", "ssh_password": "vyos", "ssh_port": 22, - "ssh_wait_timeout": "30s", + "ssh_wait_timeout": "300s", "vm_name": "vyos_qemu_image.img", "net_device": "virtio-net", "disk_interface": "virtio", "boot_wait": "5s", "boot_command": [ - "<enter><wait10><wait10>", - "vyos<enter><wait>", + "<enter><wait10><wait10><wait10>", + "<wait10><wait10><wait10>", + "<wait10><wait10><wait10>", + "<wait10><wait10><wait10>", + "<wait10><wait10><wait10>", "vyos<enter><wait>", - "install image<enter><wait>", - "<enter><wait>", - "<enter><wait>", - "<enter><wait>", - "Yes<enter><wait>", + "vyos<enter><wait10>", + "install image<enter><wait5>", + "<enter><wait5>", + "<enter><wait5>", + "<enter><wait5>", + "Yes<enter><wait5>", "<enter><wait10>", - "<enter><wait>", - "<enter><wait>", - "vyos<enter><wait>", + "<enter><wait5>", + "<enter><wait5>", "vyos<enter><wait>", - "<enter><wait10>", - "reboot<enter><wait>", + "vyos<enter><wait5>", + "<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>", "vyos<enter><wait>", - "vyos<enter><wait>", - "configure<enter><wait>", - "delete system console<enter><wait>", + "vyos<enter><wait10>", + "configure<enter><wait5>", "set interface ethernet eth0 address dhcp<enter><wait>", "set service ssh<enter><wait>", - "commit<enter><wait>", - "save<enter><wait>", - "exit<enter><wait>", - "reboot<enter><wait>", - "Yes<enter><wait10><wait10><wait10><wait10><wait10>" + "commit<enter><wait5>", + "save<enter><wait5>", + "exit<enter><wait5>" ] } ] |