Skip to content

Virt Server

Virt Server is a virtual machine based image built on top of a Linux base with cloud-init support. It provides a nested virtualization capable VM for running hypervisor workloads inside a lab.

Base Image

A cloud-init enabled Linux qcow2 image is required. You can use this packer template to build the image.

Import Image

sherpa server image import \
  --src /some/path/<image_name>.qcow2 \
  --version 0.1.0 \
  --model virt_server \
  --default

Default Node Parameters

Property Value
Kind Virtual Machine
CPU 2
RAM 4GB
DISK virtioa.qcow2
DISK Driver virtio
ZTP cloud-init
Management Interface eth0
Data Interfaces eth1
Interface Driver virtio

Example Manifest

name = "virt-server"

[[nodes]]
name = "virt01"
model = "virt_server"

Node Access

sherpa ssh virt01
sherpa console virt01

Notes

  • Approximate time for the system to be ready: 3 minutes