mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-06-24 14:14:05 +00:00
Dont use local flag for pull-image
not supported and done automatically Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
c813e546d0
commit
92193abe84
@ -291,7 +291,7 @@ ensure_dir_structure $TARGET
|
|||||||
# Download the container image
|
# Download the container image
|
||||||
if [ -z "$directory" ]; then
|
if [ -z "$directory" ]; then
|
||||||
echo ">>> Downloading container image"
|
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
|
else
|
||||||
echo ">>> Copying files from $directory"
|
echo ">>> Copying files from $directory"
|
||||||
rsync -axq --exclude='host' --exclude='mnt' --exclude='proc' --exclude='sys' --exclude='dev' --exclude='tmp' ${directory}/ $TARGET
|
rsync -axq --exclude='host' --exclude='mnt' --exclude='proc' --exclude='sys' --exclude='dev' --exclude='tmp' ${directory}/ $TARGET
|
||||||
|
Loading…
Reference in New Issue
Block a user