Difference between revisions of "How to build Proxmox tmpfs image"

From openQRM
m (Protected "How to build Proxmox tmpfs image" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
m (adding pve kernel addition to openqrm)
Line 1: Line 1:
 +
Once you have a successfully running openQRM Server you can follow the steps below for a Proxmox Solution;
 +
 +
Download PVE Kernel - http://download.proxmox.com/debian/dists/buster/pve-no-subscription/binary-amd64/pve-kernel-5.4.114-1-pve_5.4.114-1_amd64.deb
 +
 +
Install Kernel
 +
 +
Add Kernel to openQRM
 +
 +
(Replace KERNEL_NAME, KERNEL_VER, OPENQRM_UI_USER, OPENQRM_UI_PASS, SERVER_NAME with the appropriate variables)
 +
 +
openqrm kernel add -n KERNEL_NAME -v KERNEL_VER -l / -i initramfs  -u OPENQRM_UI_USER -p OPENQRM_UI_PASS -m csiostor
 +
 +
openqrm kernel add -n pve-5.4.114-1 -v 5.4.114-1-pve -u OPENQRM_USER -p OPENQRM_PASS  -l / -i initramfs
 +
 +
if you are using a self signed cert you may need to load the http call back manually;
 +
 +
https://SERVER_NAME/openqrm/base/server/kernel/kernel-action.php?kernel_command=new_kernel&kernel_name=KERNEL_NAME&kernel_version=KERNEL_VER
 +
 +
 +
Create Image
 +
 
To create an image for Proxmox which can be used as a tmpfs image, follow these steps;
 
To create an image for Proxmox which can be used as a tmpfs image, follow these steps;
  
Line 4: Line 25:
 
# chroot /exports/proxmox_image
 
# chroot /exports/proxmox_image
 
# debootstrap --arch amd64 buster /mnt/root <nowiki>https://deb.debian.org/debian/</nowiki>
 
# debootstrap --arch amd64 buster /mnt/root <nowiki>https://deb.debian.org/debian/</nowiki>
 +
#
 +
Tar Image
 +
 +
Create NFS Image link to TmpFS image
 +
 +
Initialise ATU plugin

Revision as of 14:56, 20 May 2021

Once you have a successfully running openQRM Server you can follow the steps below for a Proxmox Solution;

Download PVE Kernel - http://download.proxmox.com/debian/dists/buster/pve-no-subscription/binary-amd64/pve-kernel-5.4.114-1-pve_5.4.114-1_amd64.deb

Install Kernel

Add Kernel to openQRM

(Replace KERNEL_NAME, KERNEL_VER, OPENQRM_UI_USER, OPENQRM_UI_PASS, SERVER_NAME with the appropriate variables)

openqrm kernel add -n KERNEL_NAME -v KERNEL_VER -l / -i initramfs -u OPENQRM_UI_USER -p OPENQRM_UI_PASS -m csiostor

openqrm kernel add -n pve-5.4.114-1 -v 5.4.114-1-pve -u OPENQRM_USER -p OPENQRM_PASS -l / -i initramfs

if you are using a self signed cert you may need to load the http call back manually;

https://SERVER_NAME/openqrm/base/server/kernel/kernel-action.php?kernel_command=new_kernel&kernel_name=KERNEL_NAME&kernel_version=KERNEL_VER


Create Image

To create an image for Proxmox which can be used as a tmpfs image, follow these steps;

  1. Create directory in /exports/proxmox_image
  2. chroot /exports/proxmox_image
  3. debootstrap --arch amd64 buster /mnt/root https://deb.debian.org/debian/

Tar Image

Create NFS Image link to TmpFS image

Initialise ATU plugin