From 3a8552bdbfca3537b2eaf1d87bd5221c1697d888 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 18 Aug 2025 00:39:03 -0500 Subject: [PATCH] OpenSuSE LEAP 16.0 now building --- distros/opensuse/16.0/amd64.pkrvars.hcl | 11 +- distros/opensuse/16.0/http/autoinst.xml | 125 --------------------- distros/opensuse/16.0/http/profile.jsonnet | 8 +- 3 files changed, 13 insertions(+), 131 deletions(-) delete mode 100644 distros/opensuse/16.0/http/autoinst.xml diff --git a/distros/opensuse/16.0/amd64.pkrvars.hcl b/distros/opensuse/16.0/amd64.pkrvars.hcl index a169680..5eb5b1c 100644 --- a/distros/opensuse/16.0/amd64.pkrvars.hcl +++ b/distros/opensuse/16.0/amd64.pkrvars.hcl @@ -1,16 +1,21 @@ distro = "opensuse" version = "16.0" iso = { - url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer-Leap.x86_64-16.0.0-Leap-Build120.5.iso" - checksum = "9da557e454a5cfb9aad8e1385de0003efd9bd4531e08459385f1169b3c0bfd25" + #url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer.x86_64-Leap_16.0.iso" + #checksum = "d3e7a86c4ab7296480ad41a2ca30bde5cad0ff2210b145dd2011403f648f76cb" + url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer.x86_64-17.0.0-Leap_16.0-Build151.4.iso" + checksum = "d3e7a86c4ab7296480ad41a2ca30bde5cad0ff2210b145dd2011403f648f76cb" } boot_command = [ "e", "", "", - " agama.auto=http://{{ .HTTPIP }}:{{ .HTTPPort }}/profile.jsonnet", + " inst.auto=http://{{ .HTTPIP }}:{{ .HTTPPort }}/profile.jsonnet", + " video=VGA-1:800x600", + #" systemd.unit=multi-user.target", "x" ] boot_wait = "8s" +cd_files = [ "distros/opensuse/16.0/http/" ] http_directory = "distros/opensuse/16.0/http/" vbox_os_type = "OpenSUSE_Leap_64" diff --git a/distros/opensuse/16.0/http/autoinst.xml b/distros/opensuse/16.0/http/autoinst.xml deleted file mode 100644 index a20f842..0000000 --- a/distros/opensuse/16.0/http/autoinst.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - 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 - - - diff --git a/distros/opensuse/16.0/http/profile.jsonnet b/distros/opensuse/16.0/http/profile.jsonnet index d0dcd5b..a0a2597 100644 --- a/distros/opensuse/16.0/http/profile.jsonnet +++ b/distros/opensuse/16.0/http/profile.jsonnet @@ -1,3 +1,5 @@ +// For more docs, check out +// https://agama-project.github.io/docs/user/profile/dynamic // This is a Jsonnet file. Please, check https://jsonnet.org/ for more // information about the language. // For the schema, see @@ -62,8 +64,8 @@ local memory = agama.findByID(agama.lshw, 'memory').size; post: [ { name: 'configure-vagrant', chroot: true, - body: ||| - #!/bin/sh + content: ||| + #!/bin/bash # Configure the insecure Vagrant SSH key mkdir -p /home/vagrant/.ssh curl -o /home/vagrant/.ssh/authorized_keys https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub @@ -77,7 +79,7 @@ local memory = agama.findByID(agama.lshw, 'memory').size; vagrant ALL=(ALL) NOPASSWD: ALL root ALL=(ALL) NOPASSWD: ALL EOF - ||| + |||, } ] }, }