From nobody Mon Feb 9 07:39:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1587562152; cv=none; d=zohomail.com; s=zohoarc; b=T/K0qZvFdNyAYPNm9pV/RgTQDKz+6AwR7KFVZpntz/mUNV8QBothca28czU5HIYjimIs8PrAmwtrBuG4qhuJINmLm1HNczqbSaFmLj68xK5tQXLvQENxGDul5t+6ZwJz8sw3zQWEcEObv/WDFk00qQoZtqnta4RijNaCJAgpM1A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587562152; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=o3SLTFKGDQWmsB6Z83dPdJPIldZaq0C22uAKOf1OuLM=; b=fVgc+uXEmZpE1mkVo3tEqRuzAKG8ef95npjwOWCEMddnGBDD4sQV/nD/fyMJcKHZMgC+7ewvLXdj6ZT1TEoh2vSPF6AOzt9OFE1499eia3zB6vRwGzmD+m0wxLosKtig+IAHUg9vWuyLm6s2fE7liZ2XtAvyM5M4RuxTV6os2v4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1587562152648274.2551046805521; Wed, 22 Apr 2020 06:29:12 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-345-yhS3Q5LiNiu04eQ1zBpHQQ-1; Wed, 22 Apr 2020 09:29:09 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 76983100CCD9; Wed, 22 Apr 2020 13:29:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3802D60F87; Wed, 22 Apr 2020 13:29:02 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id C043E941C2; Wed, 22 Apr 2020 13:29:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03MDSoWU005901 for ; Wed, 22 Apr 2020 09:28:50 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4D35B6084D; Wed, 22 Apr 2020 13:28:50 +0000 (UTC) Received: from sturgeon.redhat.com (unknown [10.40.192.155]) by smtp.corp.redhat.com (Postfix) with ESMTP id 965E66084A; Wed, 22 Apr 2020 13:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587562151; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=o3SLTFKGDQWmsB6Z83dPdJPIldZaq0C22uAKOf1OuLM=; b=bXgIZw4taEosssdeKrdjajXyX28L4Vgz3vKuJFfmgJDYSYidRVD9eHFuX4w3hxCkfCzVdd JmRfN1nTNi+9IbKWFlu5Bq53aD7G5vsDgAYpGfA205ccjCTpDPvyX6LK4Ax6pRP/jIolP1 A+oRqwfqMDfNhszjNpmbhh0abOMATpU= X-MC-Unique: yhS3Q5LiNiu04eQ1zBpHQQ-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt-ci PATCH 13/13] guests: README: Document the existence and usage of config.toml Date: Wed, 22 Apr 2020 15:28:31 +0200 Message-Id: <76eb18031be5f64d84a3479d23f947d05144c5f0.1587562058.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: Erik Skultety X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Erik Skultety --- guests/README.markdown | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/guests/README.markdown b/guests/README.markdown index 7dbefed..d9afbd3 100644 --- a/guests/README.markdown +++ b/guests/README.markdown @@ -64,13 +64,16 @@ branches out of those with Host setup ---------- =20 -Ansible and `virt-install` need to be available on the host. +`ansible`, `python3-toml` and `virt-install` need to be available on the h= ost, +the former two can be either installed system-wide using your package mana= ger +or using by `pip` (see the provided requirements.txt file). The latter can= only +be installed with your package manager as `virt-install` is not distribute= d via +PyPi. =20 -Before you can start bringing up guests, you'll have to store your -site-specific root password in the `~/.config/lcitool/root-password` file. -This password will only be necessary for serial console access in case -something goes horribly wrong; for day to day operations, SSH key -authentication will be used instead. +Before you can start bringing up guests, you need to create (ideally by +copying the `config.toml` template) ~/.config/lcitool/config.toml and set = at +least the options marked as "(mandatory)" depending on the flavor (`test`, +`jenkins`, `gitlab`) you wish to use with your machines. =20 Ansible expects to be able to connect to the guests by name: installing and enabling the [libvirt NSS plugin](https://wiki.libvirt.org/page/NSS_module) @@ -123,8 +126,8 @@ Jenkins CI use -------------- =20 You'll need to configure `lcitool` to use the `jenkins` flavor for -guests: to do so, just write `jenkins` in the `~/.config/lcitool/flavor` -file. +guests. To do so, simply set the flavor to 'jenkins' in +`~/.config/lcitool/config.toml`. =20 Once a guest has been prepared, you'll be able to log in as root either via SSH (your public key will have been authorized) or on the serial --=20 2.25.3