Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel <[email protected]>
  • Loading branch information
dgarcia18 committed May 8, 2024
1 parent 6015298 commit 38b1f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion appliances/Harbor/appliance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ mount_persistent() {
wait_for_docker_containers() {
local start_time=$(date +%s)
local end_time=$((start_time + 300)) # 5 minutes in seconds
local all_healthy=1

while [ $(date +%s) -lt $end_time ]; do
local all_healthy=1

# Get the IDs of all running containers
local container_ids=$(docker ps --format "{{.ID}}")

Expand Down
2 changes: 1 addition & 1 deletion packer/service_Harbor/Harbor.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ source "qemu" "Harbor" {
net_device = "virtio-net"
format = "qcow2"
disk_compression = false
skip_resize_disk = true
disk_size = 5120

output_directory = var.output_dir

Expand Down

0 comments on commit 38b1f59

Please sign in to comment.