Merge pull request #54 from GNS3/openbsd

OpenBSD 5.8
This commit is contained in:
Jeremy Grossmann 2016-01-01 15:26:50 -08:00
commit 610fcd92bc
2 changed files with 88 additions and 0 deletions

41
appliances/openbsd.gns3a Normal file
View 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"
}
}

View 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" ]
}
]
}