Skip to content

11 Five distributions ​

Debian, Ubuntu, Fedora, AlmaLinux and Rocky Linux side by side on one switch.

What you practice ​

  • One cloud-init file that works on every distribution
  • Comparing package managers, init and network stacks

Topology ​

NodeImageCPUs / memoryAddressesRole
debiandebian-131 / 1GiBmgmt DHCPdebian-13
ubuntuubuntu-26.041 / 1GiBmgmt DHCPubuntu-26.04
fedorafedora-441 / 1GiBmgmt DHCPfedora-44
almaalmalinux-101 / 1GiBmgmt DHCPalmalinux-10
rockyrocky-101 / 1GiBmgmt DHCProcky-10

Before you start ​

bash
vz image pull disk debian-13
vz image pull disk ubuntu-26.04
vz image pull disk fedora-44
vz image pull disk almalinux-10
vz image pull disk rocky-10

Run it ​

bash
cd examples/11-multi-distro
vz validate
vz up
vz node ls                 # addresses come from DHCP
ssh lab@<address>             # password: lab

Try it ​

bash
for n in debian ubuntu fedora alma rocky; do vz node console $n; done

In each VM compare cat /etc/os-release, uname -r, the package manager (apt, dnf), and the network stack (networkctl or nmcli).

Notes ​

These nodes have no network-config, so each distribution configures DHCP its own way and the addresses are not fixed: vz node ls shows them.

Clean up ​

bash
vz down
vz destroy --yes   # deletes the overlays and state of this lab