Skip to content

Commit

Permalink
Initial non-working Ubuntu 20.10 install config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ladar committed Oct 24, 2020
1 parent fcdc8bc commit 15ff9f1
Show file tree
Hide file tree
Showing 25 changed files with 1,589 additions and 1 deletion.
85 changes: 84 additions & 1 deletion generic-hyperv.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,38 @@
"generic-devuan3-hyperv"
]
},
{
"type": "shell",
"scripts": [
"scripts/ubuntu2010/apt.sh",
"scripts/ubuntu2010/network.sh"
],
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-hyperv"
]
},
{
"type": "shell",
"scripts": [
"scripts/ubuntu2010/floppy.sh",
"scripts/ubuntu2010/vagrant.sh",
"scripts/ubuntu2010/motd.sh",
"scripts/ubuntu2010/fixtty.sh",
"scripts/ubuntu2010/virtualbox.sh",
"scripts/ubuntu2010/parallels.sh",
"scripts/ubuntu2010/vmware.sh",
"scripts/ubuntu2010/qemu.sh",
"scripts/ubuntu2010/cleanup.sh"
],
"pause_before": "120s",
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-hyperv"
]
},
{
"type": "shell",
"scripts": [
Expand Down Expand Up @@ -1748,7 +1780,6 @@
"ssh_timeout": "7200s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"generation": 1,

"headless": true,
"communicator": "ssh",
"skip_compaction": false,
Expand Down Expand Up @@ -3890,6 +3921,58 @@
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
},
{
"type": "hyperv-iso",
"name": "generic-ubuntu2010-hyperv",
"vm_name": "generic-ubuntu2010-hyperv",
"temp_path": "output/",
"output_directory": "output/generic-ubuntu2010-hyperv",
"boot_wait": "1s",
"boot_command": [
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<esc><f6><esc>",
"<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>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false ",
"auto-install/enable=true ",
"debconf/priority=critical ",
"console-setup/ask_detect=false ",
"debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/generic.ubuntu2010.vagrant.cfg<wait> ",
" --- <enter>"
],
"disk_size": 131072,
"memory": 2048,
"cpus": 2,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/20.10/ubuntu-20.10-live-server-amd64.iso",
"iso_checksum": "defdc1ad3af7b661fe2b4ee861fb6fdb5f52039389ef56da6efc05e6adfe3d45",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "7200s",
"shutdown_command": "echo 'vagrant' | sudo -S 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",
"enable_virtualization_extensions": false
}
],
"post-processors": [
Expand Down
89 changes: 89 additions & 0 deletions generic-libvirt.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,38 @@
"generic-devuan3-libvirt"
]
},
{
"scripts": [
"scripts/ubuntu2010/apt.sh",
"scripts/ubuntu2010/network.sh"
],
"type": "shell",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-libvirt"
]
},
{
"scripts": [
"scripts/ubuntu2010/floppy.sh",
"scripts/ubuntu2010/vagrant.sh",
"scripts/ubuntu2010/motd.sh",
"scripts/ubuntu2010/fixtty.sh",
"scripts/ubuntu2010/virtualbox.sh",
"scripts/ubuntu2010/parallels.sh",
"scripts/ubuntu2010/vmware.sh",
"scripts/ubuntu2010/qemu.sh",
"scripts/ubuntu2010/cleanup.sh"
],
"type": "shell",
"pause_before": "120s",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-libvirt"
]
},
{
"scripts": [
"scripts/common/motd.sh",
Expand Down Expand Up @@ -4135,6 +4167,63 @@
"ssh_port": 22,
"ssh_wait_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P -h now"
},
{
"type": "qemu",
"name": "generic-ubuntu2010-libvirt",
"vm_name": "generic-ubuntu2010-libvirt",
"output_directory": "output/generic-ubuntu2010-libvirt",
"accelerator": "kvm",
"qemu_binary": "/usr/libexec/qemu-kvm",
"boot_wait": "1s",
"boot_command": [
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<esc><f6><esc>",
"<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>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false ",
"auto-install/enable=true ",
"debconf/priority=critical ",
"console-setup/ask_detect=false ",
"debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/generic.ubuntu2010.vagrant.cfg<wait> ",
" --- <enter>"
],
"format": "qcow2",
"disk_size": 131072,
"disk_discard": "unmap",
"disk_cache": "unsafe",
"disk_compression": true,
"disk_interface": "virtio-scsi",
"net_device": "virtio-net",
"cpus": 2,
"memory": 2048,
"qemuargs": [
[
"-drive",
"if=none,file=output/generic-ubuntu2010-libvirt/generic-ubuntu2010-libvirt,id=drive0,cache=unsafe,discard=unmap,detect-zeroes=unmap,format=qcow2"
]
],
"http_directory": "http",
"headless": true,
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/20.10/ubuntu-20.10-live-server-amd64.iso",
"iso_checksum": "defdc1ad3af7b661fe2b4ee861fb6fdb5f52039389ef56da6efc05e6adfe3d45",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now"
}
],
"post-processors": [
Expand Down
113 changes: 113 additions & 0 deletions generic-parallels.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,38 @@
"generic-devuan3-parallels"
]
},
{
"scripts": [
"scripts/ubuntu2010/apt.sh",
"scripts/ubuntu2010/network.sh"
],
"type": "shell",
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-parallels"
]
},
{
"scripts": [
"scripts/ubuntu2010/floppy.sh",
"scripts/ubuntu2010/vagrant.sh",
"scripts/ubuntu2010/motd.sh",
"scripts/ubuntu2010/fixtty.sh",
"scripts/ubuntu2010/virtualbox.sh",
"scripts/ubuntu2010/parallels.sh",
"scripts/ubuntu2010/vmware.sh",
"scripts/ubuntu2010/qemu.sh",
"scripts/ubuntu2010/cleanup.sh"
],
"type": "shell",
"pause_before": "120s",
"start_retry_timeout": "45m",
"expect_disconnect": "true",
"only": [
"generic-ubuntu2010-parallels"
]
},
{
"scripts": [
"scripts/common/motd.sh",
Expand Down Expand Up @@ -5408,6 +5440,87 @@
"parallels_tools_mode": "upload",
"parallels_tools_guest_path": "/root/parallels-tools-linux.iso",
"prlctl_version_file": "/root/parallels-tools-version.txt"
},
{
"type": "parallels-iso",
"name": "generic-ubuntu2010-parallels",
"vm_name": "generic-ubuntu2010-parallels",
"output_directory": "output/generic-ubuntu2010-parallels",
"boot_wait": "1s",
"boot_command": [
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<tab><wait><tab><wait><tab><wait><tab><wait>",
"<esc><f6><esc>",
"<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>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false ",
"auto-install/enable=true ",
"debconf/priority=critical ",
"console-setup/ask_detect=false ",
"debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/generic.ubuntu2010.vagrant.cfg<wait> ",
" --- <enter>"
],
"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": "ubuntu",
"skip_compaction": false,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/20.10/ubuntu-20.10-live-server-amd64.iso",
"iso_checksum": "defdc1ad3af7b661fe2b4ee861fb6fdb5f52039389ef56da6efc05e6adfe3d45",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"parallels_tools_flavor": "lin",
"parallels_tools_mode": "upload",
"parallels_tools_guest_path": "/root/parallels-tools-linux.iso",
"prlctl_version_file": "/root/parallels-tools-version.txt"
}
],
"post-processors": [
Expand Down
Loading

0 comments on commit 15ff9f1

Please sign in to comment.