Step 1 of 8 · Proxmox and KVM
Proxmox and KVM
Copy link to the page “Proxmox and KVM”Create the appliance in Proxmox and open the setup wizard in your browser.
What you need
Copy link to the section “What you need”- Access to Downloads in sslbrain Cloud (EU).
- Space for a machine with 2 vCPU, 4 GB RAM and a 40 GB disk.
- Access to the Proxmox host’s shell and the names of your storage and network bridge.
Download the disk image
Copy link to the section “Download the disk image”-
Open Downloads in sslbrain Cloud and download the qcow2 file and its
.sha256file. -
Copy both files to the Proxmox host and check the file. Replace
<version>with the file’s version:Terminal window sha256sum -c sslbrain-<version>.qcow2.sha256
Import the disk
Copy link to the section “Import the disk”The commands use an available <vmid>, your <storage> and the bridge vmbr0. Adjust these for your environment.
Create the machine in Proxmox
Copy link to the section “Create the machine in Proxmox”-
Create the machine with SeaBIOS and no disk:
Terminal window qm create <vmid> --name sslbrain --cores 2 --memory 4096 \--net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci \--bios seabios --ostype l26 -
Import the disk image:
Terminal window qm importdisk <vmid> sslbrain-<version>.qcow2 <storage> -
Attach the imported disk as
scsi0. Use the disk name from the import result, afterunused0::Terminal window qm set <vmid> --scsi0 local-lvm:vm-<vmid>-disk-0 --boot order=scsi0
Start the machine
Copy link to the section “Start the machine”-
Start the machine and open Console. Wait while the appliance expands the disk and downloads and checks its software.
-
Open the address in
Open https://<ip> in a browser to use it.Your browser warns about the self-signed certificate. Check the fingerprint and continue to the page.
Check that it works
Copy link to the section “Check that it works”The setup wizard shows Log in with sslbrain Cloud.
Next step
Copy link to the section “Next step”Continue with 2. First-time setup.
If it fails
Copy link to the section “If it fails”- The checksum does not match → download the disk image and its matching
.sha256file again. - The machine does not boot from disk → select SeaBIOS and put
scsi0first in the boot order. - The console shows
NO NETWORK ADDRESS→ set a static address using item 3 in the console menu. - The seed disk’s address is not applied → read the reason in the console and set the address using item 3.
- The software cannot be downloaded → run the connection test using item 2 in the console menu. See Network and firewall and No connection to sslbrain Cloud.
KVM and libvirt
Copy link to the section “KVM and libvirt”Copy the disk image to libvirt’s image directory and create the machine. Replace br0 with your bridge.
virt-install --name sslbrain --vcpus 2 --memory 4096 \ --disk path=/var/lib/libvirt/images/sslbrain-<version>.qcow2,bus=scsi \ --controller type=scsi,model=virtio-scsi \ --network bridge=br0,model=virtio \ --os-variant ubuntu24.04 --import --noautoconsoleStatic address from a seed disk
Copy link to the section “Static address from a seed disk”Without a seed disk, the appliance uses DHCP. A static address is passed on a small seed disk, which the appliance reads once, at first boot.
-
Write a file called
user-data. All keys are optional. Write one key per line, without quotation marks:#cloud-confighostname: sslbrain-01ip_address: 10.0.0.10/24gateway: 10.0.0.1dns: 10.0.0.53,10.0.0.54 -
Create an empty
meta-datanext to it, and create the seed disk:Terminal window touch meta-datagenisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data -
Attach the seed disk to the machine as a CD-ROM before you start it for the first time.
On Proxmox: put
seed.isoin an ISO storage, for example/var/lib/vz/template/iso/, and attach it:Terminal window qm set <vmid> --ide2 local:iso/seed.iso,media=cdromWith
virt-install: add--disk path=seed.iso,device=cdromto the command above.
The appliance uses only the four keys above. cloud-init is disabled, so users, SSH keys and network sections in the file are not used. After first boot the seed disk can be removed. From then on, you change the address with item 3 in the console menu (Console menu).
You can expand the disk before first boot with qm resize <vmid> scsi0 +20G.