Skip to content

Commit

Permalink
chore(packMachines): update QEMU setup in GitHub workflow and adjust …
Browse files Browse the repository at this point in the history
…vm_name indentation in ubuntu pkhcl
  • Loading branch information
alismx committed Mar 5, 2025
1 parent 8582db5 commit 30d1ea7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/packMachines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
# Needed for ISO builder
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
with:
platforms:

- name: Run `packer init ${{ github.event.client_payload.service }}`
working-directory: ./packer/ubuntu-server
Expand Down Expand Up @@ -112,8 +114,10 @@ jobs:
version: 1.11.2

# Needed for ISO builder
- name: Set up QEMU
uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25
# - name: Set up QEMU
# uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25
# with:
# platforms: qemu-system-x86_64

- name: Run `packer init ${{ inputs.service }}`
working-directory: ./packer/ubuntu-server
Expand Down
2 changes: 1 addition & 1 deletion packer/ubuntu-server/ubuntu.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ packer {
}

source "qemu" "iso" {
vm_name = "ubuntu-2404-${ var.dibbs_service }-${var.dibbs_version}.raw"
vm_name = "ubuntu-2404-${ var.dibbs_service }-${var.dibbs_version}.raw"
# Uncomment this block to use a basic Ubuntu 24.04 cloud image
# iso_url = "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img"
# iso_checksum = "sha256:28d2f9df3ac0d24440eaf6998507df3405142cf94a55e1f90802c78e43d2d9df"
Expand Down

0 comments on commit 30d1ea7

Please sign in to comment.