Skip to content

Commit 66e3f30

Browse files
committed
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 apache#254 (cherry picked from commit 5921c49) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 7a4e167 commit 66e3f30

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

tools/appliance/definitions/systemvm64template/postinstall.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ configure_services() {
260260
chkconfig xl2tpd off
261261
chkconfig hv_kvp_daemon off
262262
chkconfig radvd off
263+
264+
# Disable services that slow down boot and are not used anyway
265+
chkconfig x11-common off
266+
chkconfig console-setup off
263267
}
264268

265269
do_signature() {

tools/appliance/definitions/systemvmtemplate/postinstall.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ configure_services() {
249249
chkconfig cloud off
250250
chkconfig xl2tpd off
251251
chkconfig radvd off
252+
253+
# Disable services that slow down boot and are not used anyway
254+
chkconfig x11-common off
255+
chkconfig console-setup off
252256
}
253257

254258
do_signature() {

0 commit comments

Comments
 (0)