cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/4.4 to 66e3f30
Date Mon, 18 May 2015 22:20:39 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 7a4e16769 -> 66e3f3000


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

(cherry picked from commit 5921c493c8760da10c1099647e9705cb3a4999e7)
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/66e3f300
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/66e3f300
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/66e3f300

Branch: refs/heads/4.4
Commit: 66e3f300028908bf2b9518fc4929d59f55e021f9
Parents: 7a4e167
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:20:18 2015 +0100

----------------------------------------------------------------------
 tools/appliance/definitions/systemvm64template/postinstall.sh | 4 ++++
 tools/appliance/definitions/systemvmtemplate/postinstall.sh   | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/66e3f300/tools/appliance/definitions/systemvm64template/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh
index aa8c5fa..1f11bfb 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() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/66e3f300/tools/appliance/definitions/systemvmtemplate/postinstall.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
index 7f72b33..9c5a03e 100644
--- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh
+++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh
@@ -249,6 +249,10 @@ configure_services() {
   chkconfig cloud off
   chkconfig xl2tpd 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