Skip to content

Commit

Permalink
Dont use local flag for pull-image
Browse files Browse the repository at this point in the history
not supported and done automatically

Signed-off-by: Itxaka <itxaka@kairos.io>
  • Loading branch information
Itxaka committed Aug 8, 2023
1 parent c813e54 commit 92193ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools-image/build-arm-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ ensure_dir_structure $TARGET
# Download the container image
if [ -z "$directory" ]; then
echo ">>> Downloading container image"
kairos-agent pull-image $( (( local_build == 'true')) && printf %s '--local' ) $container_image $TARGET
kairos-agent pull-image $container_image $TARGET
else
echo ">>> Copying files from $directory"
rsync -axq --exclude='host' --exclude='mnt' --exclude='proc' --exclude='sys' --exclude='dev' --exclude='tmp' ${directory}/ $TARGET
Expand Down

0 comments on commit 92193ab

Please sign in to comment.