mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-22 14:12:28 +00:00
commit
610fcd92bc
41
appliances/openbsd.gns3a
Normal file
41
appliances/openbsd.gns3a
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"vendor_name": "OpenBSD",
|
||||||
|
"name": "OpenBSD",
|
||||||
|
"description": "The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography. As an example of the effect OpenBSD has, the popular OpenSSH software comes from OpenBSD.",
|
||||||
|
"category": "guest",
|
||||||
|
"first_port_name": "fxp0",
|
||||||
|
"usage": "User root, password gns3",
|
||||||
|
"maintainer": "GNS3 Team",
|
||||||
|
"port_name_format": "em{0}",
|
||||||
|
"maintainer_email": "developers@gns3.net",
|
||||||
|
"registry_version": 1,
|
||||||
|
"status": "stable",
|
||||||
|
"vendor_url": "http://www.openbsd.org",
|
||||||
|
"documentation_url": "http://www.openbsd.org/faq/index.html",
|
||||||
|
"product_name": "OpenBSD",
|
||||||
|
"images": [
|
||||||
|
{
|
||||||
|
"md5sum": "b2488d81bbe1328ae3d6072ccd7e0bc2",
|
||||||
|
"filesize": 517275648,
|
||||||
|
"download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/",
|
||||||
|
"direct_download_url": "http://downloads.sourceforge.net/project/gns-3/Qemu%20Appliances/openbsd-5.8.qcow2",
|
||||||
|
"version": "5.8",
|
||||||
|
"filename": "openbsd-5.8.qcow2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"images": {
|
||||||
|
"hda_disk_image": "openbsd-5.8.qcow2"
|
||||||
|
},
|
||||||
|
"name": "5.8"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"qemu": {
|
||||||
|
"adapters": 8,
|
||||||
|
"ram": 256,
|
||||||
|
"console_type": "telnet",
|
||||||
|
"arch": "x86_64",
|
||||||
|
"adapter_type": "e1000"
|
||||||
|
}
|
||||||
|
}
|
47
packer/openbsd/openbsd.json
Normal file
47
packer/openbsd/openbsd.json
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"builders":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "qemu",
|
||||||
|
"iso_url": "http://ftp.fr.openbsd.org/pub/OpenBSD/5.8/amd64/install58.iso",
|
||||||
|
"iso_checksum": "2edd369c4b5f1960f9c974ee7f7bbe4105137968c1542d37411e83cb79f7f6f2",
|
||||||
|
"iso_checksum_type": "sha256",
|
||||||
|
"shutdown_command": "/sbin/halt -p",
|
||||||
|
"format": "qcow2",
|
||||||
|
"headless": false,
|
||||||
|
"ssh_username": "root",
|
||||||
|
"ssh_password": "gns3",
|
||||||
|
"vm_name": "openbsd-5.8",
|
||||||
|
"accelerator": "none",
|
||||||
|
"disk_interface": "ide",
|
||||||
|
"net_device": "e1000",
|
||||||
|
"disk_size": 5000,
|
||||||
|
"boot_wait": "120s",
|
||||||
|
"http_directory": "http",
|
||||||
|
"ssh_wait_timeout": "60m",
|
||||||
|
"boot_command": [
|
||||||
|
"S<enter>",
|
||||||
|
"cat <<EOF >>install.conf<enter>",
|
||||||
|
"System hostname = openbsd58<enter>",
|
||||||
|
"Password for root = gns3<enter>",
|
||||||
|
"Allow root ssh login = yes<enter>",
|
||||||
|
"What timezone are you in = UTC<enter>",
|
||||||
|
"Location of sets = cd<enter>",
|
||||||
|
"Set name(s) = -game*.tgz -x*.tgz<enter>",
|
||||||
|
"Directory does not contain SHA256.sig. Continue without verification = yes<enter>",
|
||||||
|
"EOF<enter>",
|
||||||
|
"install -af install.conf && reboot<enter>"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"provisioners": [
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"inline": [ "echo \"set tty com0\" >> /etc/boot.conf" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"inline": [ "echo 'console \"/usr/libexec/getty std.9600\" vt100 on secure' >> /etc/ttys" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user