cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [21/48] git commit: updated refs/heads/master to f1a6490
Date Mon, 06 Jul 2015 06:29:58 GMT
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 <rohit.yadav@shapeblue.com>


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/master
Commit: 5921c493c8760da10c1099647e9705cb3a4999e7
Parents: 112cecc
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Mon May 18 23:17:09 2015 +0100
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
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() {


Mime
View raw message