Skip to content

Commit

Permalink
PE-3073: In ISO, support preloaded clusterConfig (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilesh2410 authored Dec 22, 2023
1 parent ed6b47e commit a70d116
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .arg.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ ARCH=amd64
HTTPS_PROXY=
HTTP_PROXY=
PROXY_CERT_PATH=
UPDATE_KERNEL=false
UPDATE_KERNEL=false
CLUSTERCONFIG=spc.tgz
2 changes: 2 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ARG IMAGE_REGISTRY
ARG IMAGE_REPO=$OS_DISTRIBUTION
ARG K8S_DISTRIBUTION
ARG CUSTOM_TAG
ARG CLUSTERCONFIG
ARG ARCH
ARG PE_VERSION=v4.1.2
ARG SPECTRO_LUET_VERSION=v1.2.0
Expand Down Expand Up @@ -129,6 +130,7 @@ build-iso:
COPY overlay/files-iso/ /overlay/
COPY --if-exists user-data /overlay/files-iso/config.yaml
COPY --if-exists content-*/*.zst /overlay/opt/spectrocloud/content/
COPY --if-exists $CLUSTERCONFIG /overlay/opt/spectrocloud/clusterconfig/spc.tgz
WORKDIR /build
COPY --platform=linux/${ARCH} --keep-own +iso-image-rootfs/rootfs /build/image
IF [ "$ARCH" = "arm64" ]
Expand Down

0 comments on commit a70d116

Please sign in to comment.