diff --git a/projects/Generic/config/ovf.template b/projects/Generic/config/ovf.template
index 7184beb6cf..35fa502d73 100644
--- a/projects/Generic/config/ovf.template
+++ b/projects/Generic/config/ovf.template
@@ -19,14 +19,14 @@ xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemS
@DISTRO@
Meta-information about the installed software
- LibreELEC
- LibreELEC
- https://libreelec.tv
- https://libreelec.tv
+ @DISTRO@
+ @DISTRO@
+ @DISTRO_HOME_URL@
+ @DISTRO_HOME_URL@
A human-readable annotation
- LibreELEC is ‘Just enough OS’ for Kodi, a Linux distribution built to run Kodi on current and popular mediacentre hardware. After importing the OVA image adjust CPU, RAM, and HDD storage to the required configuration before first boot.
+ After importing the OVA image, adjust CPU, RAM, and HDD storage to the required configuration before first boot.
The kind of installed guest operating system
@@ -35,7 +35,7 @@ xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemS
Virtual Hardware Family
0
- LibreELEC
+ @DISTRO@
vmx-12
-
diff --git a/scripts/image b/scripts/image
index 343d06cad7..66fe6f5183 100755
--- a/scripts/image
+++ b/scripts/image
@@ -38,6 +38,7 @@ function do_mkimage() {
PROJECT="${PROJECT}" \
DEVICE="${DEVICE}" \
DISTRO="${DISTRO}" \
+ DISTRO_HOME_URL="${DISTRO_HOME_URL}" \
TARGET_IMG="${TARGET_IMG}" \
BUILD_NAME="${IMAGE_NAME}" \
IMAGE_NAME="${1:-${IMAGE_NAME}}" \
diff --git a/scripts/mkimage b/scripts/mkimage
index 5e1a233a47..1823ed3667 100755
--- a/scripts/mkimage
+++ b/scripts/mkimage
@@ -313,7 +313,9 @@ if [ "${PROJECT}" = "Generic" ]; then
echo "image: creating vmdk for open virtual appliance..."
qemu-img convert -O vmdk -o subformat=streamOptimized "${DISK_BASENAME}.tmp" "${DISK_BASENAME}.vmdk"
# generate ovf from template
- sed -e "s,@DISTRO@,${DISTRO},g" -e "s,@DISK@,${IMAGE_NAME},g" \
+ sed -e "s,@DISTRO@,${DISTRO},g" \
+ -e "s,@DISTRO_HOME_URL@,${DISTRO_HOME_URL},g" \
+ -e "s,@DISK@,${IMAGE_NAME},g" \
-e "s,@OVA_SIZE@,$((${OVA_SIZE} * 1024 * 1024)),g" \
"${PROJECT_DIR}/${PROJECT}/config/ovf.template" >"${DISK_BASENAME}.ovf"
# combine ovf and vmdk into official ova