mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-23 06:32:25 +00:00
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"builders":
|
|
[
|
|
{
|
|
"type": "qemu",
|
|
"iso_url": "http://wiki.alpinelinux.org/cgi-bin/dl.cgi/v3.2/releases/x86_64/alpine-mini-3.2.3-x86_64.iso",
|
|
"iso_checksum": "a718c78537a0d416fa0b7cfcef1dfb85d1e837aa",
|
|
"iso_checksum_type": "sha1",
|
|
"shutdown_command": "poweroff",
|
|
"format": "qcow2",
|
|
"headless": false,
|
|
"ssh_username": "root",
|
|
"ssh_password": "gns3",
|
|
"vm_name": "alpine-linux",
|
|
"accelerator": "none",
|
|
"disk_interface": "ide",
|
|
"net_device": "e1000",
|
|
"disk_size": 5000,
|
|
"boot_wait": "120s",
|
|
"http_directory": "http",
|
|
"ssh_wait_timeout": "60m",
|
|
"boot_command":
|
|
[
|
|
"root<enter><wait>",
|
|
"echo \"root:gns3\" | chpasswd<enter>",
|
|
"ifconfig eth0 up && udhcpc -i eth0<enter><wait5>",
|
|
"setup-apkrepos -r<enter><wait5>",
|
|
"setup-sshd -c openssh<enter>"
|
|
]
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"type": "shell",
|
|
"script": "scripts/setup.sh"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"inline": [ "reboot" ]
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"pause_before": "60s",
|
|
"script": "scripts/post_setup.sh"
|
|
}
|
|
]
|
|
}
|