Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tools/iso_builder/hack/build-ove-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,12 @@ function build_live_iso() {
if [ ! -f "${appliance_work_dir}"/appliance.iso ]; then
echo "Building appliance ISO..."
local pull_spec=quay.io/edge-infrastructure/openshift-appliance@sha256:82836d7a7e257e83c5065fcdb731a09b8bec7228be3ee8c9122b4b5c45463b73
$SUDO podman run --rm -it --privileged --pull always --net=host -v "${appliance_work_dir}"/:/assets:Z "${pull_spec}" build live-iso --log-level debug
local appliance_command="podman run --rm -it --privileged --pull always --net=host -v ${appliance_work_dir}/:/assets:Z ${pull_spec} build live-iso --log-level debug"
if [ -f "${appliance_work_dir}/openshift-install" ]; then
echo "openshift-install binary at ${appliance_work_dir} will be used to generate the unconfigured-ignition"
appliance_command="$appliance_command --debug-base-ignition"
fi
$SUDO $appliance_command
else
echo "Skip building appliance ISO. Reusing ${appliance_work_dir}/appliance.iso."
fi
Expand Down