LexiVirt OS 2.2.2Testing Only lexi-cloud.com

Installing LexiVirt OS

2.2.2 is marked Testing Only. It has not been installed on a physical server yet (see TEST-REPORT.md). Do not install it on a server that holds data you need, and do not install it over a server that runs the legacy LexiVirt 2.1.x line: there is no in-place upgrade from it. Upgrading an existing 2.2.1 host? Do not reinstall: boot this ISO and choose Upgrade an existing LexiVirt OS installation (UPDATES.md).

What you need

Check the download first:

sha256sum -c SHA256SUMS --ignore-missing

lexivirt-os-2.2.2.release.json is the signed release manifest (SHA-256 and size of the ISO, the control-plane release and the update package, signed through the release key chain). This build is signed with test keys.

Interactive installation

  1. Boot the ISO (UEFI or legacy BIOS). The boot menu starts Install LexiVirt OS 2.2.2 after 60 seconds (or press Enter). Upgrade an existing LexiVirt OS installation upgrades a host instead of installing (nothing is erased); Test this media & install checks the medium first; Troubleshooting has basic graphics mode and the installer's rescue shell. The installer starts in text mode; after its start-up messages the screen switches to the LexiVirt OS installation questions.
  2. Hardware preflight. The installer reports virtualization support, CPU feature level, memory and firmware mode. Without VT-x/AMD-V you are asked whether to continue (VMs would run in slow emulation).
  3. System disk. Disks are listed by their stable ID (/dev/disk/by-id/…: WWN, then vendor serial), with size, bus and model. The install medium, removable and read-only devices are never listed. After choosing, the installer shows the disk's current partitions and asks you to type the last eight characters of its ID. Anything else stops the installation without changing any disk.
  4. Management network. Adapters are listed by MAC address with link state and driver. Choose one, then dhcp or a static address in CIDR form, gateway and DNS servers, and the hostname.
  5. First administrator. Username and password (12+ characters, not containing the username). The password is handed to the control plane in memory, stored only as a scrypt hash, and its temporary file is shredded.
  6. The installer partitions the chosen disk (LVM, XFS), installs packages from the ISO (no internet needed), installs the control plane, creates a self-signed TLS certificate and reboots.

The console prints the web address at the login prompt: https://<management address>/. The browser warns about the self-signed certificate until you install your own.

Unattended installation (lab and CI only)

Add to the kernel command line:

lexivirt.auto=1 lexivirt.disk=<by-id name> lexivirt.confirm=<same by-id name>
lexivirt.nic=<MAC> lexivirt.hostname=<name> lexivirt.ip=dhcp|<CIDR> lexivirt.gw=<gw> lexivirt.dns=<dns>
lexivirt.admin=<user> lexivirt.adminpw=<password>

The disk is erased only when lexivirt.disk and lexivirt.confirm name the same disk. The administrator password is visible on the kernel command line of the installer; change it after the first sign-in.

First sign-in

Open https://<address>/ and sign in with the administrator from step 5. Then, in this order:

  1. My account → Two-factor authentication: enroll an authenticator app.
  2. Hosts → <host> → Compatibility: confirm virtualization is hardware (KVM) and read the requirement checks.
  3. Storage pools: a default pool exists under /var/lib/libvirt/images/lexivirt; add pools on other disks if needed.
  4. Virtual networks: a shared NAT network default exists; create project networks as needed.
  5. Organizations & projects: create tenants, then users and role assignments in Users & access.

If the installer did not create an administrator (for example a manual control-plane install), the first visit shows Set up LexiVirt OS, which needs the setup token printed on the host console and stored in /var/lib/lexivirt/secrets/setup-token (root only).

Update package

lexivirt-os-2.2.2-update.tar is the signed update package (the signed manifest plus lexivirt-os-2.2.2-controlplane.tar.xz). How it is installed depends on what the host runs:

Details, rollback and recovery: UPDATES.md.

Recovery mode

The installed system's boot menu shows LexiVirt OS (<kernel>) and a LexiVirt OS recovery entry. It starts a local menu on the console (no network services) to:

Building the ISO

cd console && npm ci && npm run build && cd ..
python3 tools/release/build_bundle.py --out dist          # control-plane bundle + wheels
python3 tools/release/keys.py init ~/keys --test          # once; keys stay outside the repo
python3 tools/release/sign.py --keys ~/keys --version "$(cat VERSION)" --channel testing dist/*.tar.xz
hostos/build-iso.sh --bundle dist/lexivirt-os-*-controlplane.tar.xz --trust ~/keys/root.pub --out dist

The build runs rootless in an AlmaLinux 10 container. It downloads the upstream x86_64_v2 minimal ISO and its checksum file, verifies the checksum file's GPG signature against the distribution key and the ISO's SHA-256, and assembles an offline package repository on the ISO.