Repository: cloudstack
Updated Branches:
  refs/heads/4.5 112cecc2d -> 5921c493c


systemvmtemplate: Disable services that slow down boot

The console-setup service brings a nice font to the console, but why would we
want to use it. In most cases it takes a <10 seconds to set it up. When using
nested hypervising, I found this takes much longer time that causes tests to
time-out. I'd suggest turning off these services. They are not required for the
services the systemvm provides.

Manually picked from commit 95e7673
PR #254

Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5921c493
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5921c493
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5921c493

Branch: refs/heads/4.5
Commit: 5921c493c8760da10c1099647e9705cb3a4999e7
Parents: 112cecc
Author: Rohit Yadav <[email protected]>
Authored: Mon May 18 23:17:09 2015 +0100
Committer: Rohit Yadav <[email protected]>
Committed: Mon May 18 23:17:09 2015 +0100

----------------------------------------------------------------------
 tools/appliance/definitions/systemvm64template/postinstall.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5921c493/tools/appliance/definitions/systemvm64template/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh 
b/tools/appliance/definitions/systemvm64template/postinstall.sh
index 99a7538..ca2140e 100644
--- a/tools/appliance/definitions/systemvm64template/postinstall.sh
+++ b/tools/appliance/definitions/systemvm64template/postinstall.sh
@@ -260,6 +260,10 @@ configure_services() {
   chkconfig xl2tpd off
   chkconfig hv_kvp_daemon off
   chkconfig radvd off
+
+  # Disable services that slow down boot and are not used anyway
+  chkconfig x11-common off
+  chkconfig console-setup off
 }
 
 do_signature() {

Reply via email to