diff --git a/.github/actions/install_packer/action.yml b/.github/actions/install_packer/action.yml index 2e8d682..6fd14fa 100644 --- a/.github/actions/install_packer/action.yml +++ b/.github/actions/install_packer/action.yml @@ -14,6 +14,7 @@ runs: using: composite steps: - shell: bash + if: runner.os == 'Linux' run: | set -exo pipefail sudo apt-get update @@ -26,3 +27,10 @@ runs: curl -L -o pup.zip "https://github.com/ericchiang/pup/releases/download/${{ inputs.pup_version }}/pup_${{ inputs.pup_version }}_linux_amd64.zip" sudo unzip pup.zip -d /usr/local/bin sudo chmod +x /usr/local/bin/pup + - shell: bash + if: runner.os == 'macOS' + run: | + set -exo pipefail + brew install qemu + brew install pup + # Packer is already installed diff --git a/sources/inputs.pkr.hcl b/sources/inputs.pkr.hcl index addaa76..83d3f92 100644 --- a/sources/inputs.pkr.hcl +++ b/sources/inputs.pkr.hcl @@ -55,7 +55,7 @@ locals { }) cpus = 2 - memory = 2048 + memory = 4096 disk_size = 10 ssh = { username = "vagrant"