Skip to content

Commit

Permalink
PE-3073: add preloaded content for cluster config
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilesh2410 committed Jan 5, 2024
1 parent c74317b commit 33152a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ 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/
IF [ "$CLUSTERCONFIG" != ""]
COPY --if-exists $CLUSTERCONFIG /overlay/opt/spectrocloud/clusterconfig/spc.tgz
#check if clusterconfig is passed in
IF [ "$CLUSTERCONFIG" != "" ]
COPY --if-exists "$CLUSTERCONFIG" /overlay/opt/spectrocloud/clusterconfig/spc.tgz
END
WORKDIR /build
COPY --platform=linux/${ARCH} --keep-own +iso-image-rootfs/rootfs /build/image
Expand Down

0 comments on commit 33152a5

Please sign in to comment.