From 5921c493c8760da10c1099647e9705cb3a4999e7 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 18 May 2015 23:17:09 +0100 Subject: [PATCH] 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 --- tools/appliance/definitions/systemvm64template/postinstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index 99a7538a057..ca2140e7003 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() {