Cookbook

Various cooking methods, too small to be covered in tasks.

Debian

  • List packages sorted by size

     dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n   
    

Proxmox

  • bind-mount host directory

    Access host files directly from guest container.

     pct set ${VMID} -mp /host/path,mp=/guest/path
    
  • Add User (without creating)

    Useful when adding external users (e.g. LDAP, AD)

     pveum user add ${id}@${realm}