Skip to content

Commit

Permalink
action: add root-dev input
Browse files Browse the repository at this point in the history
Allow setting the new root-dev flag via the GH action.

Signed-off-by: Lorenz Bauer <[email protected]>
  • Loading branch information
lmb committed Jan 24, 2024
1 parent ee06006 commit ae4509c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ inputs:
port-forward:
description: 'Additional to SSH port forward ($LOCAL:$VM_PORT)'
required: false
root-dev:
description: 'Root device (hda or vda)'
default: 'hda'
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -179,6 +182,7 @@ runs:
sudo /bin/lvh run --host-mount=${{ inputs.host-mount }} --image /_images/${{ inputs.test-name }}.qcow2 \
--daemonize -p ${{ inputs.ssh-port }}:22 --serial-port ${{ inputs.serial-port }} \
--cpu=${{ inputs.cpu }} --mem=${{ inputs.mem }} --cpu-kind ${{ inputs.cpu-kind }} \
--root-dev={{ inputs.root-dev }} \
--console-log-file /tmp/console.log \
${extraArgs[@]}
Expand Down

0 comments on commit ae4509c

Please sign in to comment.