From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7010760649199321088 X-Received: by 2002:a05:6512:39c1:: with SMTP id k1mr28051196lfu.390.1632320082872; Wed, 22 Sep 2021 07:14:42 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3a83:: with SMTP id q3ls595391lfu.2.gmail; Wed, 22 Sep 2021 07:14:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+6cCeLdmaalQYVpWjFie7r4+1a/OQ2zfBhuo4kWDBjeSTSf4ay/IkhJe54ypCSD4xx2BM X-Received: by 2002:ac2:5e83:: with SMTP id b3mr9661149lfq.305.1632320081519; Wed, 22 Sep 2021 07:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632320081; cv=none; d=google.com; s=arc-20160816; b=slUnSSHP/2LSp2wwqSZRX3yeXxf2WqLPzFFAvs19FWTy8UxiCd5ZkZvfFWsL2E+sjn mCeWK7MGdVbihQsDMqB9ZYr+wOF9i94SyXu6fbdMe15iRJ2w2oZu+5mW/HvJ8UNU3bA1 C6JZ8TIyexQmpSAlJ5JcMFM81q83gLUlfvOTGNLTAfS0Zn8ZwNBEr+ayeyI72WJxzk7/ J8k8Ivy5wWktXpTvrmCxV3LHAAM64FlHkt69EuxGgocJYgmx2YlOhiAXi4Ft/ya/9UGs XJqkuKLQBZviTg9+PXtjCnUyWVWGjqcgfhNvlE8c2YKFgNYLxUaHDiRapAXKIMceXtvE 67FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=I1GTwWEO/PplRT9KdkG5NEaxE1RbjojM7h8Dyrs3rj0=; b=Fcfw6XIWpTQFnVBJjtuoXHvfdWZ6mFNsyxv59S8lIO6uK+yeq8lbbgw5beHLnRlr+v n2mf3BLogr5chN9Sz0uXakT4MC0/MS7mQTliLNWOs9crow+a3fToMeMVsqhMTbtdb9aT oAW3GNj/A4PHSpbj8CK9aeM4ql9IKA4yPsB5LVQdN+4pH/2BRjL9DMH9WsqaewFnluMS NMP2DxR8z65l8Q/ml2VPC+f6pHaP7Tl//6XD1zs2mymPju3234uUdY8pvcf+AUeMBbwB fXcgx79smSazN7OYRsUJ6Wo+cBDrAMq/BvHV8lYHpUYoLYr5Eu+KlI5f3nqKBcnmDHSM 2DjQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id h20si119342lfv.7.2021.09.22.07.14.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Sep 2021 07:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 18MEEec4027996 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 22 Sep 2021 16:14:41 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.35.234]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 18MEEeoZ030904; Wed, 22 Sep 2021 16:14:40 +0200 Date: Wed, 22 Sep 2021 16:14:39 +0200 From: Henning Schild To: Cc: "Q . Gylstorff" Subject: Re: [PATCH 0/7] vm-img improvements and fixes Message-ID: <20210922161439.3e853f9d@md1za8fc.ad001.siemens.net> In-Reply-To: <20210922141147.4696-1-henning.schild@siemens.com> References: <20210922141147.4696-1-henning.schild@siemens.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: /jzHCEX6eC1O I tested all of this on vmware 16.1.2 build-17966106 and virtualbox 6.1.26 on a Linux host. patches can also be found here https://github.com/henning-schild-work/isar/tree/henning/staging11 Henning Am Wed, 22 Sep 2021 16:11:40 +0200 schrieb Henning Schild : > The vm-img support we currently have is a bit broken in various > aspects. Most prominently the resulting ova files are accepted by > vmware only with warnings. And UEFI booting did not really work in > virtualbox or vmware. > > This series makes the template for the appliance a file one can > override with a custom template. Which should allow close to any > special configuration that the VMMs can express in their respective > ovf dialects. It further makes changes to the templates we ship with > isar to hopefully give people a decent baseline so they will not even > need custom templates. And there is some code cleanup to the vm-img > class. > > > Henning Schild (7): > vm-img: move template out of package into SRC_URI file > vm-img: use two different ovf templates for vmware/virtualbox > vm-img: shorten code by using variables we have > vm-img: drop not used variables > vm-img: set vmware machine type to 64bit in our template > vm-img: make use of isars template class for most of the tmpl > variables > meta-isar: switch virtualbox test from buster to bullseye > > meta-isar/conf/local.conf.sample | 2 +- > meta-isar/conf/machine/vmware.conf | 2 + > ...a-buster.conf => virtualbox-bullseye.conf} | 2 +- > meta/classes/vm-img.bbclass | 35 ++--- > .../vm-img/vm-img-virtualbox.ovf.tmpl} | 132 > +++++++----------- meta/classes/vm-img/vm-img-vmware.ovf.tmpl | > 127 +++++++++++++++++ .../vm-template/vm-template_0.1.bb | > 16 --- scripts/ci_build.sh | 2 +- > 8 files changed, 197 insertions(+), 121 deletions(-) > rename meta-isar/conf/multiconfig/{virtualbox-ova-buster.conf => > virtualbox-bullseye.conf} (77%) rename > meta/{recipes-devtools/vm-template/files/vm-template.ovf.tmpl => > classes/vm-img/vm-img-virtualbox.ovf.tmpl} (54%) create mode 100644 > meta/classes/vm-img/vm-img-vmware.ovf.tmpl delete mode 100644 > meta/recipes-devtools/vm-template/vm-template_0.1.bb >