{ "variables": { "tc_iso_url": "http://distro.ibiblio.org/tinycorelinux/6.x/x86_64/archive/6.4/CorePure64-6.4.iso", "tc_iso_checksum": "acaa6726d0f7eb7184c193cfc5cbcb6b", "vm_name": "linux-microcore-linux-6.4.img", "setup_script": "core.sh", "disk_size": "1000" }, "builders": [ { "type": "qemu", "iso_url": "{{user `tc_iso_url`}}", "iso_checksum": "{{user `tc_iso_checksum`}}", "iso_checksum_type": "md5", "shutdown_command": "sudo poweroff", "format": "qcow2", "headless": false, "ssh_username": "gns3", "ssh_password": "gns3", "accelerator": "none", "vm_name": "{{user `vm_name`}}", "disk_interface": "ide", "disk_size": "{{user `disk_size`}}", "net_device": "e1000", "http_directory": "http", "boot_wait": "5s", "boot_command": [ "corepure64 user=gns3", "sudo passwd gns3gns3gns3", "tce-load -wi openssh", "cd /usr/local/etc/ssh; [ -f sshd_config_example ] && sudo cp -a sshd_config_example sshd_config; cd", "sudo /usr/local/etc/init.d/openssh start" ] } ], "provisioners": [ { "type": "shell", "script": "scripts/hd-install-64bits.sh" }, { "type": "shell", "script": "scripts/serial.sh" }, { "type": "shell", "script": "scripts/packages.sh" }, { "type": "shell", "script": "scripts/{{user `setup_script`}}" }, { "type": "shell", "script": "scripts/post_setup.sh" } ] }