lib/danarchy_deploy/system/centos.rb in danarchy_deploy-0.2.8 vs lib/danarchy_deploy/system/centos.rb in danarchy_deploy-0.2.9
- old
+ new
@@ -15,10 +15,10 @@
[installer, updater, cleaner]
end
private
def set_hostname(hostname)
- `hostnamectl hostname #{hostname}`
+ `hostnamectl set-hostname #{hostname}`
end
end
end
end