Skip to content

Commit

Permalink
Fix the --image flag in lvh run command
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Stringer <[email protected]>
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent and joestringer committed Jan 31, 2024
1 parent fc8f9a9 commit b81560d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ runs:
run: |
sudo mkdir /images; sudo chmod 777 /images
/bin/lvh images pull --cache quay.io/lvh-images/${{ inputs.image }}:${{ inputs.image-version }} --dir "/"
find /images
- name: Start VM
if: ${{ inputs.provision == 'true' }}
shell: bash
Expand All @@ -168,7 +169,7 @@ runs:
extraArgs+=("-p" "${{ inputs.port-forward }}")
fi
sudo touch /tmp/console.log
sudo /bin/lvh run --host-mount=${{ inputs.host-mount }} --image /images/${{ inputs.test-name }}.qcow2 \
sudo /bin/lvh run --host-mount=${{ inputs.host-mount }} --image /images/${{ steps.derive-image-name.outputs.image-name }}.qcow2 \
--daemonize -p ${{ inputs.ssh-port }}:22 --serial-port ${{ inputs.serial-port }} \
--cpu=${{ inputs.cpu }} --mem=${{ inputs.mem }} --cpu-kind ${{ inputs.cpu-kind }} \
--console-log-file /tmp/console.log \
Expand Down

0 comments on commit b81560d

Please sign in to comment.