From ffab8ceac49795bda91b971b026aca18f84fbe63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Smith?= Date: Mon, 21 Jun 2021 21:29:47 +0100 Subject: [PATCH] Add a serial port to OVF template (LP: #1895104) groovy hangs during boot on ESXi when the version is greater than 10. Adding a serial port by default fixes this specific bug - increasing the HW version will be for another branch. This is because more investigation is needed into whether it is possible to increment ddb.virtualHWVersion without disrupting Oracle VirtualBox images. --- debian/changelog | 10 +++++++ .../hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl | 26 ++++++++++++------- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6c7c35bd..a5ee770c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +livecd-rootfs (2.727) UNRELEASED; urgency=medium + + * (LP: #1895104) Image hangs during boot after deploying + groovy-server-cloudimg-amd64.ova, and the upgrading the ESXi hardware + version. Adding a serial port rectifies this - so this code change + simply adds a serial port to the OVF template (so there is a serial port as + default). + + -- ChloƩ 'kajiya' Smith Mon, 21 Jun 2021 21:27:36 +0100 + livecd-rootfs (2.726) impish; urgency=medium * Fix overriding of ExecStart in diff --git a/live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl b/live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl index 7f0b85e0..77ecc93d 100644 --- a/live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl +++ b/live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl @@ -84,24 +84,32 @@ VirtualSCSI 6 + + true + serial0 + 4 + vmware.serialport.device + 21 + + 1 IDE Controller VirtualIDEController 1 - 4 + 5 5 0 IDE Controller VirtualIDEController 0 - 5 + 6 5 false VirtualVideoCard - 6 + 7 24 @@ -112,7 +120,7 @@ false VirtualVMCIDevice - 7 + 8 vmware.vmci 1 @@ -121,8 +129,8 @@ 0 false CD-ROM 1 - 8 - 4 + 9 + 3 vmware.cdrom.remotepassthrough 15 @@ -131,7 +139,7 @@ 0 Hard Disk 1 ovf:/disk/vmdisk1 - 9 + 10 3 17 @@ -141,7 +149,7 @@ false Floppy Drive Floppy 1 - 10 + 11 vmware.floppy.remotedevice 14 @@ -151,7 +159,7 @@ VM Network VmxNet3 ethernet adapter on "VM Network" Ethernet 1 - 11 + 12 VmxNet3 10