From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7010760649199321088 X-Received: by 2002:a05:6402:5250:: with SMTP id t16mr336370edd.227.1632330362023; Wed, 22 Sep 2021 10:06:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:5e47:: with SMTP id b7ls1639137eju.4.gmail; Wed, 22 Sep 2021 10:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2fLr5vL29HUxIgigEPXYFOVCQL/+F3ctRlbatBdPWX3Cn9MDeeaSwsVgdzUv5d9iD87lz X-Received: by 2002:a17:906:4310:: with SMTP id j16mr270967ejm.48.1632330361155; Wed, 22 Sep 2021 10:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632330361; cv=none; d=google.com; s=arc-20160816; b=abIUj05jOrzzUAPIkMp5Ab0zKIi2h24hRanNAEl7D4nR4CMV2mOLIoHXnJOG69Wfdo Ls6Ukw1sf227cP0fkQ7qgeyRJHXM4Q1cv2ZK8yjJeLIFoZzRyDLfPSDTHHKQGdlplUlA mT2s2xCp5WNrrUJmk2NABsNYNbkAtdxPhcETpGWHbhuHqAcPyPMeXRrUVgL+NRsttzBz remJ4fcFmWAkk2LxO3PAgs+fl2PpUqAzZ61jJ90pn+YBoGNbZO1urSc1VxWYD/kwei8N fx8R2gnWZoUjMZTRHO74+O9GMdbZIvdyEZzUDtkYcKnA/ovDl0eZljuYi9ULlE3rIKTH YJXw== 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=uF7dbJUiyrq0fL9HqPmsmTIiyqt8sryieSyRpS9aX5k=; b=BM2uP11OCXcNDgTIFmiH915kg5X0kdGAQTHg1j2tQjt0aUIqIciXYeyXaw/MGAQ8al ECrTNf5UDkFNeCd9/9qLyVbREPnTIPI9qZXjRWipwdGI/qxP8WnZERFMoOzMJ9YivwOP 12l33YlyS4gtRbtXiE4zJKp2cVpZqbpqAylg6hpbZYfUxgKAOv3NfJKFiA1m8iLeJO8P yZbIabg12qXft0q1bZyV1AaoE3Ak0ph74KRksUC8rwtq6VKZmxhEegF9DM54VVn2z6yx UzdL2lKonFjJE8QDVYRaKVeleRQxvrtgJdK6JZkgBarTXIS8WDqoTaUwbApNCjblW5UQ lPdQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id 6si131580edx.5.2021.09.22.10.06.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Sep 2021 10:06:01 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 18MH60XP024077 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 22 Sep 2021 19:06:00 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.35.234]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 18MH605B010750; Wed, 22 Sep 2021 19:06:00 +0200 Date: Wed, 22 Sep 2021 19:05:59 +0200 From: Henning Schild To: Cc: "Q . Gylstorff" Subject: Re: [PATCH 0/7] vm-img improvements and fixes Message-ID: <20210922190559.05b13522@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: WbRb/EwXFSbR Using this in a layer i in fact had the need to bring my own template for vmware to enable a nested virtualization. That worked as expected. 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 >