Skip to content

Commit

Permalink
action: Remove setting DNS resolver
Browse files Browse the repository at this point in the history
cilium/little-vm-helper-images#187 resolves the
issue with Azure DNS resolvers.

Signed-off-by: Martynas Pumputis <[email protected]>
  • Loading branch information
brb authored and aanm committed Sep 29, 2023
1 parent 2b683d0 commit 5fec602
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ inputs:
description: 'Provision VM (if set to false, only given test cmd is going to be run)'
required: true
default: 'true'
dns-resolver:
description: 'Set DNS resolver in /etc/resolv.conf of a VM'
required: false
install-dependencies:
description: 'Install QEMU dependencies (Debian/Ubuntu)'
default: 'false'
Expand Down Expand Up @@ -224,15 +221,6 @@ runs:
exit 42
fi
- name: Set DNS resolver
if: ${{ inputs.provision == 'true' && inputs.dns-resolver != '' }}
shell: bash
run: |
ssh -p ${{ inputs.ssh-port }} -o "StrictHostKeyChecking=no" root@localhost << EOF
set -e
echo "nameserver ${{ inputs.dns-resolver }}" > /etc/resolv.conf
EOF
- name: Run test cmd in VM
shell: bash
run: |
Expand Down

0 comments on commit 5fec602

Please sign in to comment.