Firstly, we need to create a basic VM. Though since we're going to be using the Github Enterprise Server QCOW2 image we won't need to specify any boot media. Thus the options should look something like this.
Hard Disk section we will be asked to configure a
Disk size but that doesn't really matter since we will be discarding it later on.
This step comes in 2 parts:
Hardware settings shown in the above pictures were created at the base value that Proxmox imports and are not suitable for a working Github Enterprise Server installation.
Secondly, we need to download the Github Enterprise server image. Since we're going to be deploying it on Proxmox we specifically need the QCOW2 format. The image can be downloaded on the release page. Since we will be importing this as a disk for a VM later we want to save it on the root machine.
We can download the latest (as I'm writing this) image as follows:
wget https://github-enterprise.s3.amazonaws.com/kvm/releases/github-enterprise-3.0.6.qcow2 -O ghes.qcow2
VM_ID with the ID of the previously created VM and
STORAGE_NAME with the
Storage on which you want the disk to be saved.
qm importdisk $VM_ID ghes.qcow2 $STORAGE_NAME
Once the import has finished we need to attach the disk in the
Hardware tab of the VM.
Once we're in the menu we just need to press
Add. Though you can also edit any of the other disk settings if need be.
Now since we need some storage other than what the image allocates we will create another disk.
The minimum requirements (we need the
Attached storage value) can be found here.
For this post I will be using the
Trial, demo, or 10 light users requirements.
And finally, we can start our VM.
Thanks for reading my guide!