Sha256: 40b5a730d190c3bc6d1e5013de5ea0d6e24480982e42c80f7b71efb79c69f77b
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
module VagrantPlugins module GuestAtomic module Cap class ChangeHostName def self.change_host_name(machine, name) machine.communicate.sudo("hostnamectl set-hostname #{name}") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.2.0 | vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/guests/atomic/cap/change_host_name.rb |