This repository contains kickstart files for Phyllome itself and its RPM-based guests
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lukas 62ec750a6f just a test with vscode 1 year ago
archive move file to archive 1 year ago
flat add flat-dhimd.cfg 1 year ago
iso cdrom-based installation 1 year ago
leaves comment-out post section 1 year ago
LICENSE Initial commit 2 years ago
README.md just a test with vscode 1 year ago

README.md

Phyllome OS

Virtualization for the rest of us

What ?

  • This repository contains the basic building blocks required for deploying Phyllome OS bare-metal or in a virtual machine using kickstart files.

Development

For development purposes, Phyllome OS can be deployed in a virtual machine, leveraging nested-virtualization.

Requirements

  • A x86_64 platform that supports hardware-assisted virtualization
  • A recent Linux Kernel (5.X)
  • The virt-install and virt-manager tools
  • libvirt and qemu-kvmup and running
  • Nested-virtualization enabled

Preparation

Enable nested-virtualization :

  • For AMD-based systems

to be done

  • For Intel-based systems

to be done

  • For Fedora 34

Install the prerequisites :

sudo dnf install -y qemu-kvm libvirt libvirt-daemon-config-network libvirt-daemon-kvm virt-install virt-top virt-manager libguestfs-tools python3-libguestfs guestfs-tools

  • For Ubuntu 20.4 or Debian 11

To be done

Fire!

Note : the following scripts relies on a kickstart tuned for Intel CPU and GPU, but may nonetheless on other systems.

This script will automatically deploy the alpha version of Phyllome OS, on a Q35 virtual motherboard, a UEFI-based firmware, virtio-devices accross the board, 2 vCPUs, 4 GB of RAM and a disk of 5 GB.

Adjust it according to your need. When ready, copy and paste it to your terminal and fire-up it up!

virt-install \
    --connect qemu:///system \
    --virt-type kvm \
    --arch x86_64 \
    --machine q35 \
    --name phyllome-alpha \
    --boot uefi \
    --cpu host-model,topology.sockets=1,topology.cores=2,topology.threads=1 \
    --vcpus 2 \
    --memory 4096 \
    --video virtio \
    --channel spicevmc \
    --autoconsole none \
    --sound none \
    --controller type=virtio-serial \
    --controller type=usb,model=none \
    --controller type=scsi,model=virtio-scsi \
    --network network=default,model=virtio \
    --input type=keyboard,bus=virtio \
    --input type=tablet,bus=virtio \
    --rng /dev/urandom,model=virtio \
    --disk path=/var/lib/libvirt/images/flat-dhimd.img,format=raw,bus=virtio,cache=writeback,size=5 \
    --location=https://download.fedoraproject.org/pub/fedora/linux/releases/34/Everything/x86_64/os/ \
    --extra-args="inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/flat/flat-dhimd.cfg"

Licence

Acknowledgement

  • I would like to thanks the main contributors of the official Fedora kickstart files repository, and related tools.

Adam Miller, Bastien Nocera, Bruno Wolff III, Bryan Kearney, Chitlesh Goorah, Christoph Wickert, Colin Walters, Fabian Affolter, Igor Pires Soares, Jens Petersen, Jeremy Katz, Jeroen van Meeuwen Jesse Keating, Luya Tshimbalanga, Matthias Clasen, Pedro Silva, Rahul Sundaram, Sebastian Dziallas Sebastian Vahl, wart. More information here : https://pagure.io/fedora-kickstarts