KVM guest // XCP-NG (nested)

assuming the host is up and running already

draft

guest=xcpng

mkdir -p /data/guests/xcpng/
cd /data/guests/xcpng/

osinfo-query os | grep CentOS
grep short-id /usr/share/osinfo/os/centos.org/centos-7*.xml

as user so you get virt-viewer right away

virsh undefine xcpng
echo $DISPLAY
virt-install --name $guest --vcpus 12 --ram 3072 \
    --disk path=/data/guests/$guest/$guest.qcow2,size=10,bus=virtio \
    --network bridge=virbr0,model=virtio \
    --accelerate \
    --os-type linux --os-variant centos7.0 \
    --cdrom /data/ISO-IMAGES/xcpng/xcp-ng-8.2.0.iso

boot prompt: install-2G

–> XEN micro-kernel loads and Linux gets a kernel panic


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun