diff --git a/appliances/openbsd.gns3a b/appliances/openbsd.gns3a new file mode 100644 index 0000000..7c5040d --- /dev/null +++ b/appliances/openbsd.gns3a @@ -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" + } +} diff --git a/packer/openbsd/openbsd.json b/packer/openbsd/openbsd.json new file mode 100644 index 0000000..161679e --- /dev/null +++ b/packer/openbsd/openbsd.json @@ -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", + "cat <>install.conf", + "System hostname = openbsd58", + "Password for root = gns3", + "Allow root ssh login = yes", + "What timezone are you in = UTC", + "Location of sets = cd", + "Set name(s) = -game*.tgz -x*.tgz", + "Directory does not contain SHA256.sig. Continue without verification = yes", + "EOF", + "install -af install.conf && reboot" + ] + } + ], + "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" ] + } + ] +}