From 1f7c092b9444d9037522bf2d98f0c874cb70a7ea Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 4 Apr 2024 13:33:17 -0500 Subject: [PATCH] Add openSuSE LEAP 15.6 --- distros/opensuse/15.6/amd64.pkrvars.hcl | 15 +++ distros/opensuse/15.6/finalize.sh | 4 + distros/opensuse/15.6/http/autoinst.xml | 125 ++++++++++++++++++++++++ distros/opensuse/15.6/qemu.sh | 6 ++ distros/opensuse/15.6/virtualbox.sh | 2 + distros/opensuse/15.6/vmware.sh | 2 + distros/opensuse/supports.yml | 5 +- 7 files changed, 157 insertions(+), 2 deletions(-) create mode 100644 distros/opensuse/15.6/amd64.pkrvars.hcl create mode 100644 distros/opensuse/15.6/finalize.sh create mode 100644 distros/opensuse/15.6/http/autoinst.xml create mode 100644 distros/opensuse/15.6/qemu.sh create mode 100644 distros/opensuse/15.6/virtualbox.sh create mode 100644 distros/opensuse/15.6/vmware.sh diff --git a/distros/opensuse/15.6/amd64.pkrvars.hcl b/distros/opensuse/15.6/amd64.pkrvars.hcl new file mode 100644 index 0000000..64a74be --- /dev/null +++ b/distros/opensuse/15.6/amd64.pkrvars.hcl @@ -0,0 +1,15 @@ +distro = "opensuse" +version = "15.6" +iso = { + url = "https://download.opensuse.org/distribution/leap/15.6/iso/openSUSE-Leap-15.6-NET-x86_64-Media.iso" + checksum = "4631636c43297951f1a0a3a2a804e30f4bf1790f892d0f0ac46f62ec82ac2075" +} +boot_command = [ + "e", + "", + "", + " autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml textmode=1", + "x" +] +http_directory = "distros/opensuse/15.6/http/" +vbox_os_type = "OpenSUSE_Leap_64" diff --git a/distros/opensuse/15.6/finalize.sh b/distros/opensuse/15.6/finalize.sh new file mode 100644 index 0000000..b29f91f --- /dev/null +++ b/distros/opensuse/15.6/finalize.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -ex + +zypper clean -a \ No newline at end of file diff --git a/distros/opensuse/15.6/http/autoinst.xml b/distros/opensuse/15.6/http/autoinst.xml new file mode 100644 index 0000000..65753c6 --- /dev/null +++ b/distros/opensuse/15.6/http/autoinst.xml @@ -0,0 +1,125 @@ + + + + + + + false + true + + + + + wheel + vagrant + + + vagrant + vagrant + + + + true + external + + + public + + eth0 + + + ssh + + + + + + + all + + + /boot + 512MiB + + + / + max + + + + + + en_US + + + network_manager + + + + + sshd + + + + + + openssh + sudo + + true + false + + + UTC + UTC + + + + root + vagrant + false + + + vagrant + vagrant + false + + + + + + + + + + /etc/sudoers.d/vagrant + + + + 440 + root + + + /home/vagrant/.ssh/authorized_keys + 600 + vagrant + https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub + + + \ No newline at end of file diff --git a/distros/opensuse/15.6/qemu.sh b/distros/opensuse/15.6/qemu.sh new file mode 100644 index 0000000..8bc20c1 --- /dev/null +++ b/distros/opensuse/15.6/qemu.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -ex + +zypper install -y qemu-guest-agent +systemctl start qemu-guest-agent +systemctl enable qemu-guest-agent diff --git a/distros/opensuse/15.6/virtualbox.sh b/distros/opensuse/15.6/virtualbox.sh new file mode 100644 index 0000000..087d718 --- /dev/null +++ b/distros/opensuse/15.6/virtualbox.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -ex \ No newline at end of file diff --git a/distros/opensuse/15.6/vmware.sh b/distros/opensuse/15.6/vmware.sh new file mode 100644 index 0000000..4cfad53 --- /dev/null +++ b/distros/opensuse/15.6/vmware.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -ex diff --git a/distros/opensuse/supports.yml b/distros/opensuse/supports.yml index db4b95f..a709f30 100644 --- a/distros/opensuse/supports.yml +++ b/distros/opensuse/supports.yml @@ -1,4 +1,4 @@ -15.5: &supp +15.6: &supp - arch: amd64 provider: qemu - arch: amd64 @@ -7,4 +7,5 @@ provider: vmware-iso - arch: amd64 provider: hyperv-iso -tumbleweed: *supp \ No newline at end of file +15.5: *supp +tumbleweed: *supp