From 77f91f5907e777065ebeeba444701323eb15f66a Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Wed, 13 Mar 2024 17:38:51 -0400 Subject: [PATCH] remove extra args --- lorax_templates/bootc_patch/39.patch | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lorax_templates/bootc_patch/39.patch b/lorax_templates/bootc_patch/39.patch index 738c871..035e677 100644 --- a/lorax_templates/bootc_patch/39.patch +++ b/lorax_templates/bootc_patch/39.patch @@ -1,11 +1,18 @@ -577,579c577,578 +577,586c577,578 < args = ["container", "image", "deploy", < "--sysroot=" + self._physroot, < "--image=" + ref] +< +< if self._data.transport: +< args.append("--transport=" + self._data.transport) +< if self._data.stateroot: +< args.append("--stateroot=" + self._data.stateroot) +< if not self._data.signature_verification_enabled: +< args.append("--no-signature-verification") --- -> args = ["install", "to-filesystem", "--source-imgref=" + ref, +> args = ["install", "to-filesystem", "--source-imgref=oci:" + ref, > self._physroot] -589c588 +589c581 < "ostree", --- > "bootc",