Proxmox VE
Thanks MacRimi/ProxMenux
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"
menu
GRUB_CMDLINE_LINUX_DEFAULT="quiet consoleblank=600"
bash -c "$(wget -qLO - https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh)"
menu
GRUB_CMDLINE_LINUX_DEFAULT="quiet consoleblank=600"
| strict digraph Proxmox { | |
| graph [ | |
| /* Graph Attributes - https://graphviz.org/docs/graph/ */ | |
| layout=dot; | |
| /* dot */ | |
| clusterrank=local; | |
| compound=true; | |
| /* Splines */ | |
| splines=curved; | |
| concentrate=true; | |
| /* Colors */ | |
| colorscheme=""; | |
| bgcolor=white; | |
| rankdir="TB"; | |
| labelloc=t, | |
| labeljust=c, | |
| tooltip="Proxmox", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0"> | |
| <TH><TD><B>Proxmox VE Environment</B></TD></TH> | |
| </TABLE>> | |
| ]; | |
| node [ | |
| /* Node Attributes - https://graphviz.org/docs/nodes/ */ | |
| shape=plaintext; | |
| ]; | |
| edge [ | |
| /* Edge Attributes - https://graphviz.org/docs/edges/ */ | |
| ]; | |
| /* Entities */ | |
| subgraph Drives { | |
| node [ | |
| shape="cylinder", | |
| style="filled"; | |
| ]; | |
| /* Entities */ | |
| subgraph Drives_Internal { | |
| /* Entities */ | |
| pve_HardDrive [ | |
| tooltip="pve Drive", | |
| label=< | |
| <TABLE BORDER="1" CELLBORDER="0" CELLSPACING="0"> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>"Drive"</B></FONT></TD></TH> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>""</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text" SIDES="L" PORT="type">Type:<BR ALIGN="right" /></TD><TD SIDES="LB" ALIGN="text">HDD/SSD<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text" SIDES="L" PORT="size">Size:<BR ALIGN="right" /></TD><TD SIDES="LB" ALIGN="text"><BR ALIGN="left" /></TD></TR> | |
| </TABLE>> | |
| ]; | |
| pbs_HardDrive [ | |
| tooltip="pbs Drive", | |
| label=< | |
| <TABLE BORDER="1" CELLBORDER="0" CELLSPACING="0"> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>"Drive"</B></FONT></TD></TH> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>""</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text" SIDES="L" PORT="type">Type:<BR ALIGN="right" /></TD><TD SIDES="LB" ALIGN="text">HDD/SSD<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text" SIDES="L" PORT="size">Size:<BR ALIGN="right" /></TD><TD SIDES="LB" ALIGN="text"><BR ALIGN="left" /></TD></TR> | |
| </TABLE>> | |
| ]; | |
| } | |
| pve_Disks [ | |
| tooltip="Disks", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>"Disks"</B></FONT></TD></TH> | |
| <TR><TD SIDES="L" PORT="local">—</TD><TD SIDES="LB" ALIGN="text">local<BR ALIGN="left" /></TD></TR> | |
| <TR><TD SIDES="L" PORT="local-lvm">—</TD><TD SIDES="LB" ALIGN="text">local-lvm<BR ALIGN="left" /></TD></TR> | |
| </TABLE>>]; | |
| pbs_Disks [ | |
| tooltip="Datastore", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> | |
| <TH><TD SIDES="L" COLSPAN="2"><FONT POINT-SIZE="16"><B>"ZFS Datastore"</B></FONT></TD></TH> | |
| <TR><TD SIDES="L" PORT="local">—</TD><TD SIDES="LB" ALIGN="text">PBS-Local<BR ALIGN="left" /></TD></TR> | |
| </TABLE>>]; | |
| } | |
| /* Clusters */ | |
| /* Cluster Attributes - https://graphviz.org/docs/clusters/ */ | |
| subgraph cluster_Machine_BS { | |
| graph [ | |
| bgcolor=grey; | |
| labeljust=l, | |
| tooltip="Nickname", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" BGCOLOR="black"> | |
| <TR><TD SIDES="RB"> | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="white"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"Bare Metal Machine"</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text">Name:<BR ALIGN="right" /></TD><TD ALIGN="text">Nickname<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Motherboard:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Socket:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Processor:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Memory/RAM:<BR ALIGN="right" /></TD> | |
| <TD SIDES="RB"> | |
| <TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="white"> | |
| <TR><TD ALIGN="text">Type:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">-<BR ALIGN="left" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE>> | |
| ]; | |
| subgraph cluster_Machine_BS_OS { | |
| graph [ | |
| bgcolor=yellow; | |
| style="rounded, filled"; | |
| tooltip="pve_Nickname", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" BGCOLOR="black"> | |
| <TR><TD SIDES="RB"> | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="yellow"> | |
| <TH><TD COLSPAN="2" PORT="os">Proxmox BS (Debian)</TD></TH> | |
| <TR><TD ALIGN="text">Hostname:<BR ALIGN="right" /></TD><TD PORT="hostname" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">IP Address:<BR ALIGN="right" /></TD><TD PORT="ip" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">TZ:<BR ALIGN="right" /></TD><TD PORT="tz" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE>> | |
| ]; | |
| /* Entities */ | |
| pbs_Disks; | |
| } | |
| /* Relationships */ | |
| pbs_Disks -> pbs_HardDrive; | |
| } | |
| subgraph cluster_Machine { | |
| graph [ | |
| bgcolor=grey; | |
| labeljust=l, | |
| tooltip="Nickname", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" BGCOLOR="black"> | |
| <TR><TD SIDES="RB"> | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="white"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"Bare Metal Machine"</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text">Name:<BR ALIGN="right" /></TD><TD ALIGN="text">Nickname<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Motherboard:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Socket:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Processor:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Memory/RAM:<BR ALIGN="right" /></TD> | |
| <TD ALIGN="text" SIDES="RB"> | |
| <TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" BGCOLOR="white"> | |
| <TR><TD ALIGN="text">Type:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">-<BR ALIGN="left" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE>> | |
| ]; | |
| /* Clusters */ | |
| subgraph cluster_Machine_OS { | |
| graph [ | |
| bgcolor=yellow; | |
| style="rounded, filled"; | |
| tooltip="pve_Nickname", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" BGCOLOR="black"> | |
| <TR><TD SIDES="RB"> | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="yellow"> | |
| <TH><TD COLSPAN="2" PORT="os">Proxmox VE (Debian)</TD></TH> | |
| <TR><TD ALIGN="text">Hostname:<BR ALIGN="right" /></TD><TD PORT="hostname" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">IP Address:<BR ALIGN="right" /></TD><TD PORT="ip" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">TZ:<BR ALIGN="right" /></TD><TD PORT="tz" ALIGN="text"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE>> | |
| ]; | |
| /* Entities */ | |
| pve_Disks; | |
| /* Clusters */ | |
| subgraph cluster_LXC_Containers { | |
| graph [ | |
| style="rounded, dashed, filled"; | |
| bgcolor=green; | |
| tooltip="LXC Containers", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="white"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"LXC Container"</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text">Hostname:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Template:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Disks:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">CPU Cores:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Memory Size:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Network:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">DNS:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| </TABLE>> | |
| ]; | |
| node [ | |
| shape="rect" | |
| ]; | |
| /* Entities */ | |
| pve_LXC_Container [ | |
| style="diagonals, filled"; | |
| tooltip="LXC Container", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"CT Template"</B></FONT></TD></TH> | |
| </TABLE>> | |
| ]; | |
| } | |
| subgraph cluster_Virtual_Machines { | |
| graph [ | |
| bgcolor=lawngreen; | |
| tooltip="Virtual Machines", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="white"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"Virtual Machine"</B></FONT></TD></TH> | |
| <TR><TD ALIGN="text">Name:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">OS:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Disks:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Processor:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Sockets:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">CPU Cores:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Memory Size:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">Network:<BR ALIGN="right" /></TD><TD ALIGN="text">-<BR ALIGN="left" /></TD></TR> | |
| </TABLE>> | |
| ]; | |
| node [ | |
| shape="box" | |
| ]; | |
| /* Clusters */ | |
| subgraph cluster_Virtual_Machine_OS { | |
| graph [ | |
| bgcolor=lightcoral; | |
| style="rounded, dashed, filled"; | |
| tooltip="Virtual Machine", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> | |
| <TR><TD SIDES="RB"> | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" BGCOLOR="yellow"> | |
| <TH><TD COLSPAN="2" PORT="os">"OS"</TD></TH> | |
| <TR><TD ALIGN="text">Hostname:<BR ALIGN="right" /></TD><TD ALIGN="text" PORT="hostname"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| <TR><TD ALIGN="text">IP Address:<BR ALIGN="right" /></TD><TD ALIGN="text" PORT="ip"><B>-</B><BR ALIGN="left" /></TD></TR> | |
| </TABLE> | |
| </TD></TR> | |
| </TABLE>> | |
| ]; | |
| /* Entities */ | |
| pve_Virtual_Machine [ | |
| style="diagonals, filled"; | |
| tooltip="Virtual Machine", | |
| label=< | |
| <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0"> | |
| <TH><TD COLSPAN="2"><FONT POINT-SIZE="16"><B>"Virtual Machine"</B></FONT></TD></TH> | |
| </TABLE>> | |
| ]; | |
| } | |
| } | |
| } | |
| /* Relationships */ | |
| pve_Disks -> pve_HardDrive; | |
| } | |
| /* Relationships */ | |
| pve_Virtual_Machine -> pve_Disks; | |
| pve_LXC_Container -> pve_Disks; | |
| pve_Virtual_Machine -> pbs_Disks [constraint=false]; | |
| pve_LXC_Container -> pbs_Disks [constraint=false]; | |
| } |
apt-get install xfce4 chromium lightdm
apt-get install mate chromium lightdm
adduser <new user name>
systemctl start lightdm
iscsiadm -m node -T <iqn> -p <ip address>:<port number> -u
When run, the command should look something like this:
iscsiadm -m node -T iqn.52425-1.com.unitrends:UNI.target-25a74d1 -p 10.10.10.10:3260 -u
Using -T and -p together makes the selection more specific.
iscsiadm -m node -o delete -T <iqn>
iscsiadm -m session
iscsiadm -m discoverydb -t sendtargets -p <IP>:<port>
iscsiadm -m discoverydb -t sendtargets -p <IP>:<port> -o delete
iscsiadm -m session
iscsiadm -m discovery -t st -p <ip address>:<port number>
iscsiadm -m node --login
iscsiadm -m session -o show
pvesm scan iscsi <ip address>
pvesm iscsiscan <ip address>
pvesm status
pvesm list <Volid>
pvesm set <STORAGE_ID> --content iso
cat /etc/pve/storage.cfg
cat /etc/iscsi/iscsid.conf
Thanks Proxmox Helper Scripts
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/casaos-v4.sh)"
⚡ Default Settings: 2GB RAM - 8GB Storage - 2vCPU ⚡
CasaOS Interface: IP
Thanks Proxmox Helper Scripts
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/debian-v5.sh)"
No drivers need to be installed on the proxmox, from now called host.
Find GIDs of video and render group on host:
cat /etc/group | grep video
cat /etc/group | grep render
They should be 44 and 103 (104).
Allow those GIDs to be mapped to unprivileged containers by
editing /etc/subgid file and adding these lines:
root:44:1
root:103:1
root:104:1
Also find GIDs for those same groups on container by running the same commands inside the LXC container.
INSIDE THE CONTAINER:
cat /etc/group | grep video
INSIDE THE CONTAINER:
cat /etc/group | grep render
They should be 44 and 106.
If those commands return nothing, use 27 and 103.
Replace with your container ID.
Edit /etc/pve/lxc/<containerid>.conf and add these lines to bottom:
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 27
lxc.idmap: g 27 44 1
lxc.idmap: g 28 100028 75
lxc.idmap: g 103 103 1
lxc.idmap: g 104 100104 65432
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
#lxc.cgroup2.devices.allow: c 189:129 rm
#lxc.cgroup2.devices.allow: c 189:130 rm
#lxc.cgroup2.devices.allow: c 189:131 rm
lxc.mount.entry: /dev/sr0 dev/sr0 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/sg2 dev/sg2 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/sr1 dev/sr1 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/sg3 dev/sg3 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/sr2 dev/sr2 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/sg6 dev/sg6 none bind,optional,create=file,mode=0666
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/debian-v5.sh)"
lxc.cgroup2.devices.allow: a
lxc.cgroup2.devices.allow: b 11:0 rm
lxc.mount.entry: /dev/sr0 dev/sr0 none bind,optional,create=file,mode=0666
lxc.cgroup2.devices.allow: c 21:1 rm
lxc.mount.entry: /dev/sg1 dev/sg1 none bind,optional,create=file,mode=0666
lxc.idmap: u 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: u 1001 101001 64535
lxc.idmap: g 0 100000 24
lxc.idmap: g 24 24 1
lxc.idmap: g 25 100025 19
lxc.idmap: g 44 44 1
lxc.idmap: g 45 100045 61
lxc.idmap: g 106 104 1
lxc.idmap: g 107 100107 889
lxc.idmap: g 996 1001 1
lxc.idmap: g 997 100997 64539
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
/etc/subuid
root:1000:1
root:100000:65536
/etc/subgid:
root:24:1
root:44:1
root:104:1
root:1001:1
root:100000:65536
# Inside the LXC container, add a docker user and link to groups
useradd -u 1000 -g docker -G cdrom -d /nonexistent -s /usr/sbin/nologin docker
#<div align='center'><a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https%3A//raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
#
# # Docker LXC
#
# <a href='https%3A//ko-fi.com/D1D7EP4GF'><img src='https%3A//img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
# </div>
# lxc.cgroup2.devices.allow%3A c 188%3A* rwm
# lxc.cgroup2.devices.allow%3A c 189%3A* rwm
#lxc.mount.entry%3A /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
#lxc.mount.entry%3A /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
#lxc.mount.entry%3A /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
#lxc.mount.entry%3A /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
#lxc.mount.entry%3A /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
#lxc.mount.entry%3A /dev/bus/usb/002 dev/bus/usb/002 none bind,optional,create=dir
#lxc.mount.entry%3A /dev/dri dev/dri none bind,optional,create=dir
#lxc.cgroup2.devices.allow%3A c 189%3A129 rm
#lxc.cgroup2.devices.allow%3A c 189%3A130 rm
#lxc.cgroup2.devices.allow%3A c 189%3A131 rm
#lxc.idmap%3A u 0 100000 1000
#lxc.idmap%3A u 1000 1000 1
#lxc.idmap%3A u 1001 101001 64535
#lxc.idmap%3A u 0 100000 65536
#lxc.mount.entry%3A /dev/sr0 dev/sr0 none bind,optional,create=file,mode=0660
#lxc.mount.entry%3A /dev/sg2 dev/sg2 none bind,optional,create=file,mode=0660
#lxc.mount.entry%3A /dev/sr1 dev/sr1 none bind,optional,create=file,mode=0660
#lxc.mount.entry%3A /dev/sg3 dev/sg3 none bind,optional,create=file,mode=0660
#lxc.mount.entry%3A /dev/sr2 dev/sr2 none bind,optional,create=file,mode=0660
#lxc.mount.entry%3A /dev/sg4 dev/sg4 none bind,optional,create=file,mode=0660
#lxc.idmap%3A g 0 100000 24
#lxc.idmap%3A g 24 24 1
#lxc.idmap%3A g 25 100025 973
#lxc.idmap%3A g 998 998 1
#lxc.idmap%3A g 999 100999 64536
#lxc.idmap%3A g 0 100000 24
#lxc.idmap%3A g 24 24 1
#lxc.idmap%3A g 25 100025 65511
#lxc.idmap%3A g 0 100000 65536
arch: amd64
cores: 2
features: fuse=1,nesting=1
hostname: pve-msi5-lxc-docker
memory: 4096
net0: name=eth0,bridge=vmbr0,gw=10.0.0.1,hwaddr=E2:22:94:C7:6C:AE,ip=10.0.0.71/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-100-disk-0,size=30G
swap: 512
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 65536
agent: 1
balloon: 0
boot: order=scsi0
cores: 2
cpu: host
ipconfig0: ip=10.0.0.34/24,gw=10.0.0.1
memory: 3072
meta: creation-qemu=7.2.0,ctime=1679018213
name: RancherOS-Raw
net0: virtio=C2:FA:64:D8:54:FA,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: /dev/disk/by-id/ata-Hitachi_HTS542512K9SA00_080401BB6200WBDUJ9DF,backup=0,size=117220824K
scsihw: virtio-scsi-single
smbios1: uuid=8d0d8856-fd2d-4c06-bc98-eeb760a61959
sockets: 1
sshkeys: ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQDG2fHC9%2BHEqcY0I0cGdahhHc7odzLD6zn6tSFRKYMy1Ml0tUDx14dZkLFWNwYdeaAoVIxjqSla2B5aIvZ%2FkHG4YHiSMx3KC6iao5J%2BVkmqyVEU3i5SuILPFQrHhVdehgy%2Bu4Vvi1kSQ1grKF5ThsEblXorBW%2F1e3kH8AMOuBoBz1JMY81wiiuZyVe2FWTRKnh5ouu2umYotv1BMZfvZZHGRbO%2BGahoXT8jv9dE71jWoyNoJ81Dse1ZFUadsHdvOOEuM8ewPX3aEJqt9%2FCBEzrSLDdbv4P5fopF6hdpO6Ta6k%2BwP6fAJOD8l4HIQJEl9RBsX8rtOMX4sUqlEUIbELi%2F
vga: std
vmgenid: e35255b6-7bde-43d1-a4d7-1e23163964fe
Thanks Proxmox Helper Scripts
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/ubuntu-v5.sh)"