No DNS in vagrant cross minions, need explicit IP as host

This commit is contained in:
derekwaynecarr
2014-09-11 13:38:46 -04:00
parent 7de0989a4e
commit 0c20fffa06
5 changed files with 14 additions and 11 deletions

View File

@@ -18,7 +18,6 @@ package pod
import (
"fmt"
"strings"
"sync"
"time"
@@ -195,10 +194,6 @@ func getInstanceIP(cloud cloudprovider.Interface, host string) string {
if instances == nil || !ok {
return ""
}
ix := strings.Index(host, ".")
if ix != -1 {
host = host[:ix]
}
addr, err := instances.IPAddress(host)
if err != nil {
glog.Errorf("Error getting instance IP: %#v", err)