Skip to content

Commit 78222b6

Browse files
systemvm template changes, to explicitly update the module dependencies, vmware hardware version updated to 13, fsck added in grub
1 parent 5c84848 commit 78222b6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

systemvm/debian/opt/cloud/bin/setup/init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ config_guest() {
112112
fi
113113
;;
114114
vmware)
115+
# explicitly update the module dependencies
116+
depmod -a
115117
# system time sync'd with host via vmware tools
116118
systemctl stop ntpd
117119
systemctl disable ntpd

tools/appliance/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function stage_vmx() {
235235
displayname = "${1}"
236236
annotation = "${1}"
237237
guestos = "otherlinux-64"
238-
virtualHW.version = "11"
238+
virtualHW.version = "13"
239239
config.version = "8"
240240
numvcpus = "1"
241241
cpuid.coresPerSocket = "1"

tools/appliance/systemvmtemplate/scripts/configure_grub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function configure_grub() {
3434
GRUB_DEFAULT=0
3535
GRUB_TIMEOUT=0
3636
GRUB_DISTRIBUTOR=Debian
37-
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
37+
GRUB_CMDLINE_LINUX_DEFAULT="quiet fsck.mode=force fsck.repair=yes"
3838
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8 console=hvc0 earlyprintk=xen net.ifnames=0 biosdevname=0 debian-installer=en_US nomodeset"
3939
GRUB_CMDLINE_XEN="com1=115200 console=com1"
4040
GRUB_TERMINAL="console serial"

0 commit comments

Comments
 (0)