From e2da26e5616e85474a6710a1ada0c6855ee2545f Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:56:19 +0000 Subject: [PATCH] replace default url --- .github/workflows/iso.yml | 1 - lorax_templates/configure_upgrades.tmpl | 3 +++ lorax_templates/embed_image.tmpl | 4 ---- 3 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 lorax_templates/configure_upgrades.tmpl delete mode 100644 lorax_templates/embed_image.tmpl diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index 468f4a5..170bfca 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -65,7 +65,6 @@ jobs: --repo /etc/yum.repos.d/fedora.repo \ --repo /etc/yum.repos.d/fedora-updates.repo \ --add-template ${GITHUB_WORKSPACE}/lorax_templates/set_installer.tmpl \ - --rootfs-size 9 \ ./results/ - name: Generate xorriso input diff --git a/lorax_templates/configure_upgrades.tmpl b/lorax_templates/configure_upgrades.tmpl new file mode 100644 index 0000000..d8f2a42 --- /dev/null +++ b/lorax_templates/configure_upgrades.tmpl @@ -0,0 +1,3 @@ +append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail" +append usr/share/anaconda/interactive-defaults.ks "sed -i 's/url=.*/url=ghcr.io\/ublue-os\/base-main:39/' /ostree/repo/config" +append usr/share/anaconda/interactive-defaults.ks "%end" \ No newline at end of file diff --git a/lorax_templates/embed_image.tmpl b/lorax_templates/embed_image.tmpl deleted file mode 100644 index 585070a..0000000 --- a/lorax_templates/embed_image.tmpl +++ /dev/null @@ -1,4 +0,0 @@ -<%page args="root"/> -runcmd podman pull ghcr.io/ublue-os/base-main:39 -runcmd podman save --format oci-archive -o ${root}/base-main-39.tar ghcr.io/ublue-os/base-main:39 -runcmd podman rmi ghcr.io/ublue-os/base-main:39 \ No newline at end of file