Files
felhom.eu/documentation/audits/visitors-2026-10-01/C/bench/C0-bench-create.txt
T

61 lines
3.1 KiB
Plaintext

+ date -u
Thu Oct 1 19:28:33 UTC 2026
+ pct list
VMID Status Lock Name
9201 running demo-hp
9202 running demo-hp-scratch
+ free -g
+ head -2
total used free shared buff/cache available
Mem: 29 5 5 0 18 23
+ pvesm status
Name Type Status Total (KiB) Used (KiB) Available (KiB) %
felhom-pbs pbs active 0 0 0 0.00%
local dir active 40453376 24681632 13684628 61.01%
local-lvm lvmthin active 56487936 34813514 21674421 61.63%
nvme-scratch dir active 983379700 77325832 856027256 7.86%
+ pct config 9401
+ head -1
Configuration file 'nodes/demo-hp/lxc/9401.conf' does not exist
+ ls /var/lib/vz/template/cache/
debian-13-standard_13.6-1_amd64.tar.zst
+ pveam list local
+ grep debian-13
local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst 123.93MB
+ pct create 9401 local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst --hostname upgrade-harness --cores 6 --memory 10240 --swap 0 --rootfs nvme-scratch:60 --net0 name=eth0,bridge=vmbr0,ip=dhcp --unprivileged 1 --features nesting=1,keyctl=1 --onboot 0
+ tail -1
done: SHA256:zhshT1KXLEd4DFcu6x7t1YnHzoIKQHGEPk7qwkEXNXI root@upgrade-harness
+ pct config 9401
arch: amd64
cores: 6
features: nesting=1,keyctl=1
hostname: upgrade-harness
memory: 10240
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:3E:71:6B,ip=dhcp,type=veth
onboot: 0
ostype: debian
rootfs: nvme-scratch:9401/vm-9401-disk-0.raw,size=60G
swap: 0
unprivileged: 1
+ pct start 9401
+ sleep 15
+ pct exec 9401 -- bash -c 'dpkg --print-architecture; hostname; ip -4 -o addr show eth0 | awk "{print \$4}"; apt-get update -qq >/dev/null 2>&1; DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker.io docker-compose python3 python3-yaml curl postgresql-client sqlite3 >/dev/null 2>&1; docker --version; docker compose version; python3 --version; docker network create traefik-public >/dev/null && echo traefik-public-net; swapon --show; free -m | head -3; df -h /'
amd64
upgrade-harness
192.168.0.135/24
Docker version 26.1.5+dfsg1, build a72d7cd
Docker Compose version 2.26.1-4
Python 3.13.5
traefik-public-net
total used free shared buff/cache available
Mem: 10240 58 8488 0 1692 10181
Swap: 0 0 0
Filesystem Size Used Avail Use% Mounted on
/dev/loop2 59G 1.3G 55G 3% /
+ pvesm status
Name Type Status Total (KiB) Used (KiB) Available (KiB) %
felhom-pbs pbs active 0 0 0 0.00%
local dir active 40453376 24681740 13684520 61.01%
local-lvm lvmthin active 56487936 34813514 21674421 61.63%
nvme-scratch dir active 983379700 78964756 854388332 8.03%