Skip to content

Commit

Permalink
Adding new Dfly box config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Sep 21, 2023
1 parent 91348aa commit 8b1910e
Show file tree
Hide file tree
Showing 22 changed files with 1,258 additions and 0 deletions.
86 changes: 86 additions & 0 deletions generic-hyperv.json
Original file line number Diff line number Diff line change
Expand Up @@ -3241,6 +3241,29 @@
"generic-hardenedbsd-hyperv"
]
},
{
"type": "shell",
"timeout": "120m",
"scripts": [
"scripts/dragonflybsd/pkg.sh",
"scripts/dragonflybsd/hostname.sh",
"scripts/dragonflybsd/kernel.sh",
"scripts/dragonflybsd/firstboot.sh",
"scripts/dragonflybsd/motd.sh",
"scripts/dragonflybsd/vagrant.sh",
"scripts/dragonflybsd/virtualbox.sh",
"scripts/dragonflybsd/parallels.sh",
"scripts/dragonflybsd/vmware.sh",
"scripts/dragonflybsd/qemu.sh",
"scripts/dragonflybsd/cleanup.sh"
],
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"execute_command": "{{.Vars}} /usr/local/bin/bash {{ .Path }}",
"only": [
"generic-dragonflybsd-hyperv"
]
},
{
"type": "shell",
"timeout": "120m",
Expand Down Expand Up @@ -7042,6 +7065,69 @@
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
},
{
"type": "hyperv-iso",
"name": "generic-dragonflybsd-hyperv",
"vm_name": "generic-dragonflybsd-hyperv",
"temp_path": "output/",
"output_directory": "output/generic-dragonflybsd-hyperv",
"boot_wait": "1s",
"boot_keygroup_interval": "1s",
"boot_command": [
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"boot -s<enter>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait5>",
"/bin/sh<enter><wait5>",
"dhclient -l /tmp/dhclient.lease.de0 de0<enter><wait5>",
"fetch -o /tmp/installerconfig http://{{ .HTTPIP }}:{{ .HTTPPort }}/generic.dragonflybsd.vagrant.cfg<enter><wait10>",
"sh /tmp/installerconfig && reboot<wait><enter>"
],
"disk_size": 131072,
"memory": 2048,
"cpus": 2,
"http_directory": "http",
"iso_url": "https://mirror-master.dragonflybsd.org/iso-images/dfly-x86_64-6.4.0_REL.iso",
"iso_checksum": "sha256:20e4724a3cb838fec0148a4adbffd9bd57b3e6d759a6599d1149188a19c61265",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_handshake_attempts": 1000,
"ssh_timeout": "7200s",
"ssh_host": "10.10.10.244",
"mac_address": "00155d1d3d9f",
"shutdown_command": "shutdown -p now",
"generation": 1,
"headless": true,
"communicator": "ssh",
"skip_compaction": false,
"enable_secure_boot": false,
"enable_mac_spoofing": false,
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"use_legacy_network_adapter": true,
"enable_virtualization_extensions": false
}
],
"post-processors": [
Expand Down
83 changes: 83 additions & 0 deletions generic-libvirt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3241,6 +3241,29 @@
"generic-hardenedbsd-libvirt"
]
},
{
"scripts": [
"scripts/dragonflybsd/pkg.sh",
"scripts/dragonflybsd/hostname.sh",
"scripts/dragonflybsd/kernel.sh",
"scripts/dragonflybsd/firstboot.sh",
"scripts/dragonflybsd/motd.sh",
"scripts/dragonflybsd/vagrant.sh",
"scripts/dragonflybsd/virtualbox.sh",
"scripts/dragonflybsd/parallels.sh",
"scripts/dragonflybsd/vmware.sh",
"scripts/dragonflybsd/qemu.sh",
"scripts/dragonflybsd/cleanup.sh"
],
"type": "shell",
"timeout": "120m",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"execute_command": "{{.Vars}} /usr/local/bin/bash {{ .Path }}",
"only": [
"generic-dragonflybsd-libvirt"
]
},
{
"scripts": [
"scripts/common/motd.sh",
Expand Down Expand Up @@ -7031,6 +7054,66 @@
"ssh_handshake_attempts": 1000,
"ssh_timeout": "3600s",
"shutdown_command": "shutdown -p now"
},
{
"type": "qemu",
"name": "generic-dragonflybsd-libvirt",
"vm_name": "generic-dragonflybsd-libvirt",
"output_directory": "output/generic-dragonflybsd-libvirt",
"qemu_binary": "qemu-system-x86_64",
"boot_wait": "1s",
"boot_keygroup_interval": "1s",
"boot_command": [
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"boot -s<enter>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait5>",
"/bin/sh<enter><wait10>",
"dhclient -l /tmp/dhclient.lease.vtnet0 vtnet0<enter><wait5>",
"fetch -o /tmp/installerconfig http://{{ .HTTPIP }}:{{ .HTTPPort }}/generic.dragonflybsd.vagrant.cfg<enter><wait10>",
"sh /tmp/installerconfig | tee /tmp/installerconfig.log && reboot<enter><wait>"
],
"format": "qcow2",
"disk_size": "131072",
"disk_discard": "unmap",
"disk_detect_zeroes": "on",
"disk_cache": "unsafe",
"disk_image": false,
"disk_compression": true,
"disk_interface": "virtio-scsi",
"net_device": "virtio-net",
"cpus": 2,
"memory": 2048,
"http_directory": "http",
"headless": true,
"iso_url": "https://mirror-master.dragonflybsd.org/iso-images/dfly-x86_64-6.4.0_REL.iso",
"iso_checksum": "sha256:20e4724a3cb838fec0148a4adbffd9bd57b3e6d759a6599d1149188a19c61265",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_handshake_attempts": 1000,
"ssh_timeout": "3600s",
"shutdown_command": "shutdown -p now"
}
],
"post-processors": [
Expand Down
112 changes: 112 additions & 0 deletions generic-parallels.json
Original file line number Diff line number Diff line change
Expand Up @@ -3183,6 +3183,29 @@
"generic-hardenedbsd-parallels"
]
},
{
"scripts": [
"scripts/dragonflybsd/pkg.sh",
"scripts/dragonflybsd/hostname.sh",
"scripts/dragonflybsd/kernel.sh",
"scripts/dragonflybsd/firstboot.sh",
"scripts/dragonflybsd/motd.sh",
"scripts/dragonflybsd/vagrant.sh",
"scripts/dragonflybsd/virtualbox.sh",
"scripts/dragonflybsd/parallels.sh",
"scripts/dragonflybsd/vmware.sh",
"scripts/dragonflybsd/qemu.sh",
"scripts/dragonflybsd/cleanup.sh"
],
"type": "shell",
"timeout": "120m",
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"execute_command": "{{.Vars}} /usr/local/bin/bash {{ .Path }}",
"only": [
"generic-dragonflybsd-parallels"
]
},
{
"scripts": [
"scripts/common/motd.sh",
Expand Down Expand Up @@ -9530,6 +9553,95 @@
"parallels_tools_mode": "upload",
"parallels_tools_guest_path": "/root/parallels-tools-other.iso",
"prlctl_version_file": "/root/parallels-tools-version.txt"
},
{
"type": "parallels-iso",
"name": "generic-dragonflybsd-parallels",
"vm_name": "generic-dragonflybsd-parallels",
"output_directory": "output/generic-dragonflybsd-parallels",
"boot_wait": "1s",
"boot_keygroup_interval": "1s",
"boot_command": [
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<esc><wait><esc><wait><esc><wait><esc><wait>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"boot -s<enter>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait5>",
"/bin/sh<enter><wait10>",
"dhclient -l /tmp/dhclient.lease.em0 em0<enter><wait5>",
"fetch -o /tmp/installerconfig http://{{ .HTTPIP }}:{{ .HTTPPort }}/generic.dragonflybsd.vagrant.cfg<enter><wait10>",
"sh /tmp/installerconfig | tee /tmp/installerconfig.log && reboot<enter><wait>"
],
"disk_size": 32768,
"cpus": 2,
"memory": 2048,
"prlctl": [
[
"set",
"{{.Name}}",
"--adaptive-hypervisor",
"on"
],
[
"set",
"{{.Name}}",
"--3d-accelerate",
"off"
],
[
"set",
"{{.Name}}",
"--videosize",
"16"
],
[
"set",
"{{.Name}}",
"--pmu-virt",
"on"
],
[
"set",
"{{.Name}}",
"--faster-vm",
"on"
]
],
"hard_drive_interface": "ide",
"guest_os_type": "freebsd",
"skip_compaction": false,
"http_directory": "http",
"iso_url": "https://mirror-master.dragonflybsd.org/iso-images/dfly-x86_64-6.4.0_REL.iso",
"iso_checksum": "sha256:20e4724a3cb838fec0148a4adbffd9bd57b3e6d759a6599d1149188a19c61265",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_handshake_attempts": 1000,
"ssh_timeout": "3600s",
"shutdown_command": "shutdown -p now",
"parallels_tools_flavor": "other",
"parallels_tools_mode": "upload",
"parallels_tools_guest_path": "/root/parallels-tools-other.iso",
"prlctl_version_file": "/root/parallels-tools-version.txt"
}
],
"post-processors": [
Expand Down
Loading

0 comments on commit 8b1910e

Please sign in to comment.