PHOENIX-6449 Cannot start minicluster in github CI check for connectors
diff --git a/.github/actions/tune-runner-vm/action.yml b/.github/actions/tune-runner-vm/action.yml
new file mode 100644
index 0000000..47861b7
--- /dev/null
+++ b/.github/actions/tune-runner-vm/action.yml
@@ -0,0 +1,19 @@
+name: Tune Runner VM
+description: |
+  Fine tunes the GitHub Runner VM operation system for builds. 
+  The tuning currently includes a workaround for 
+  "Reverse name lookup is broken for current hostname in ubuntu-latest VMs",
+  reported as https://github.com/actions/virtual-environments/issues/3185
+runs:
+  using: composite
+  steps:
+    - run: |
+        if [[ "$OSTYPE" == "linux-gnu"* ]]; then
+            # Ensure that reverse lookups for current hostname are handled properly
+            # Add the current IP address, long hostname and short hostname record to /etc/hosts file
+            eth0_ip_addr=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)
+            hostname_fqdn=$(hostname -f)
+            hostname_short=$(hostname -s)
+            echo -e "${eth0_ip_addr}\t${hostname_fqdn} ${hostname_short}" | sudo tee -a /etc/hosts
+        fi
+      shell: bash
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index dc8259e..e5c4ab9 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -24,6 +24,7 @@
     runs-on: ubuntu-18.04
     steps:
     - uses: actions/checkout@v1
+    - uses: ./.github/actions/tune-runner-vm
     - name: Set up JDK 1.8
       uses: actions/setup-java@v1
       with: