Skip to content

Commit bb2c7dc

Browse files
committed
CLOUDSTACK-1340: Fix grub2 cfg to boot without waiting, fix locale
Thanks to Marcus for testing and helping on KVM template, adding locale fix as per Marcus's suggestion. Tested with latest build on my local vbox. Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 9342f56 commit bb2c7dc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎tools/appliance/definitions/systemvmtemplate/base.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo 'cloud ALL=NOPASSWD:ALL' > /etc/sudoers.d/cloud
1313
echo 'UseDNS no' >> /etc/ssh/sshd_config
1414

1515
# Remove 5s grub timeout to speed up booting
16-
echo <<EOF > /etc/default/grub
16+
cat <<EOF > /etc/default/grub
1717
# If you change this file, run 'update-grub' afterwards to update
1818
# /boot/grub/grub.cfg.
1919

‎tools/appliance/definitions/systemvmtemplate/postinstall.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ EOF
136136
cat >> /etc/locale.gen << EOF
137137
en_US.UTF-8 UTF-8
138138
EOF
139+
140+
locale-gen en_US.UTF-8
139141
}
140142

141143
do_fixes() {

0 commit comments

Comments
 (0)