cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdion...@apache.org
Subject [3/7] cloudstack-docs-admin git commit: Update templates.rst
Date Sun, 08 Mar 2015 14:32:53 GMT
Update templates.rst

There is no /etc/init.d/hostname.sh in ubuntu 14.04.1.
You could instead do 'service hostname start', or just do 'hostname -b -F /etc/hostname' which
is what that upscript actually does.

Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-admin/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-admin/commit/708cb991
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-admin/tree/708cb991
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-admin/diff/708cb991

Branch: refs/heads/master
Commit: 708cb991c511e578fbd9344c6f2d6755af33e81c
Parents: ee2156c
Author: Martijn Koster <mak-github@greenhills.co.uk>
Authored: Wed Feb 18 23:14:13 2015 +0000
Committer: Pierre-Luc Dion <pdion891@apache.org>
Committed: Sun Mar 8 10:16:47 2015 -0400

----------------------------------------------------------------------
 source/templates.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-admin/blob/708cb991/source/templates.rst
----------------------------------------------------------------------
diff --git a/source/templates.rst b/source/templates.rst
index b473043..69480ad 100644
--- a/source/templates.rst
+++ b/source/templates.rst
@@ -421,8 +421,7 @@ templating.
              mv /etc/hosts.dhcp.tmp /etc/hosts
              # Rename Host
              echo $hostname > /etc/hostname
-             hostname $hostname
-             /etc/init.d/hostname.sh start
+             hostname -b -F /etc/hostname
              echo $hostname > /proc/sys/kernel/hostname
              # Recreate SSH2
              export DEBIAN_FRONTEND=noninteractive


Mime
View raw message