Systemvm: 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.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/95e7673a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/95e7673a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/95e7673a Branch: refs/heads/CLOUDSTACK-8301 Commit: 95e7673a55455736ae736b029197487ba1acfe62 Parents: f678953 Author: Remi Bergsma <[email protected]> Authored: Mon May 18 13:38:46 2015 +0200 Committer: Remi Bergsma <[email protected]> Committed: Mon May 18 13:44:09 2015 +0200 ---------------------------------------------------------------------- .../definitions/systemvmtemplate/configure_systemvm_services.sh | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/95e7673a/tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh b/tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh index 69612dc..4f65543 100644 --- a/tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh +++ b/tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh @@ -70,6 +70,10 @@ function configure_services() { chkconfig xl2tpd off + # Disable services that slow down boot and are not used anyway + chkconfig x11-common off + chkconfig console-setup off + # Hyperv kvp daemon - 64bit only local arch=`dpkg --print-architecture` if [ "${arch}" == "amd64" ]; then
