All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 24m47s
36 lines
734 B
Markdown
36 lines
734 B
Markdown
# Proxmox
|
|
|
|
## Install
|
|
|
|
Download the Proxmox Virtual Environment ISO
|
|
|
|
<https://www.proxmox.com/en/downloads/proxmox-virtual-environment>
|
|
|
|
```bash
|
|
dd bs=1M conv=fdatasync if=./proxmox-ve_*.iso of=/dev/XYZ
|
|
```
|
|
|
|
## First Boot
|
|
|
|
1. Change root password
|
|
|
|
## SSH
|
|
|
|
SSH into your instance as normal and add ssh keys to ~/.ssh/authorized_keys
|
|
|
|
## ZFS Import Encrypted Dataset
|
|
|
|
1. Create a new file with the raw key contents of your encrypted dataset
|
|
2. `zfs load-key -L file:///root/enc0.vms.key enc0/vms`
|
|
3. `zfs list -o name,keystatus enc0/vms` Checks for lock status ("unavailable" means locked)
|
|
|
|
## ZFS Encryption
|
|
|
|
## VMs with zvols
|
|
|
|
```bash
|
|
# Get VM ID
|
|
qm list
|
|
export VM_ID=100
|
|
qm set $VM_ID --virtiodisk0 /dev/zvol/enc0/vms/,format=raw
|
|
``` |