Correct the writing of files

This commit is contained in:
Greg Hellings
2024-06-21 11:27:59 -05:00
parent c1156a93d3
commit 9cf56f635f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ stages:
before_script:
- packer init sources
- echo $COMMAND
- mc alias add storage "localhost:9000" root "$MINIO_SECRET"
- mc alias set storage "localhost:9000" root "$MINIO_SECRET"
- mc ls storage/isos/cache
- file=$(echo var.iso.url | packer console -var-file="${distro}" -config-type=hcl2 sources/)
- mkdir cache
+1 -1
View File
@@ -72,7 +72,7 @@ downloads:
script:
- packer init sources
- bash cache.sh
- mc alias add storage "localhost:9000" root "$MINIO_SECRET"
- mc alias set storage "localhost:9000" root "$MINIO_SECRET"
- |
for f in cache/*; do
mc put "$f" "storage/isos/$f"