lib/beaker/hypervisor/vmpooler.rb in beaker-vmpooler-0.1.0 vs lib/beaker/hypervisor/vmpooler.rb in beaker-vmpooler-0.2.0

- old
+ new

@@ -50,10 +50,14 @@ def read_fog_file(dot_fog = '.fog') YAML.load_file(dot_fog) end + def connection_preference + ['vmhostname', 'ip', 'hostname'] + end + def check_url url begin URI.parse(url) rescue return false @@ -350,6 +354,6 @@ puts " " disk_added?(parsed[hostname], disk_size, index) end end -end \ No newline at end of file +end