Sha256: ede2a68f45f83ffbd4a664c32395902cf677463485f2ae39a60f7662141b2082
Contents?: true
Size: 359 Bytes
Versions: 64
Compression:
Stored size: 359 Bytes
Contents
module VagrantPlugins module GuestEsxi module Cap class ChangeHostName def self.change_host_name(machine, name) if !machine.communicate.test("localcli system hostname get | grep '#{name}'") machine.communicate.execute("localcli system hostname set -H '#{name}'") end end end end end end
Version data entries
64 entries across 57 versions & 9 rubygems