Howto Xen XCP-NG: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) No edit summary |
Mandulete1 (talk | contribs) |
||
Line 28: | Line 28: | ||
download debian 12 cloud image: | download debian 12 cloud image: | ||
wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 | wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 | ||
change image root password: | |||
virt-sysprep -a debian-12-generic-amd64.qcow2 -q --root-password password:debian | |||
convert image to vhd: | convert image to vhd: | ||
qemu-img convert -f qcow2 -O vpc -o subformat=dynamic debian-12-generic-amd64.qcow2 debian-12-generic-amd64.vhd -p | qemu-img convert -f qcow2 -O vpc -o subformat=dynamic debian-12-generic-amd64.qcow2 debian-12-generic-amd64.vhd -p | ||
import image in xen-orchestra: | import image in xen-orchestra: | ||
/ login / import / disk / sr local storage | / login / import / disk / sr local storage | ||
= references = | = references = | ||
* https://github.com/ronivay/XenOrchestraInstallerUpdater | * https://github.com/ronivay/XenOrchestraInstallerUpdater | ||
* https://docs.xcp-ng.org | * https://docs.xcp-ng.org |
Revision as of 15:48, 15 May 2024
installation
download iso:
wget https://mirrors.xcp-ng.org/isos/8.2/xcp-ng-8.2.1-20231130.iso?https=1 -O xcp-ng-8.2.1-20231130.iso
install xen-orchestra
clone repo using git:
git clone https://github.com/ronivay/xen-orchestra-docker
enable ssl in docker-compose:
# ports ports: - "80:80" - "443:443" # redirect to https - REDIRECT_TO_HTTPS=true # certificates path inside container - CERT_PATH='/cert.pem' - KEY_PATH='/cert.key' # volumes volumes: - ./xo-data:/var/lib/xo-server - ./redis-data:/var/lib/redis # mount certificate files to container - ./certs/cert.pem:/cert.pem - ./certs/cert.key:/cert.key - ./certs/ca.pem:/host-ca.pem
start docker container using docker-compose:
docker-compose up -d
import cloud image
download debian 12 cloud image:
wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
change image root password:
virt-sysprep -a debian-12-generic-amd64.qcow2 -q --root-password password:debian
convert image to vhd:
qemu-img convert -f qcow2 -O vpc -o subformat=dynamic debian-12-generic-amd64.qcow2 debian-12-generic-amd64.vhd -p
import image in xen-orchestra:
/ login / import / disk / sr local storage