Skip to content

Instantly share code, notes, and snippets.

View drzulus's full-sized avatar

Dr.ZuLuS drzulus

  • Russia, Saint-Petersburg
View GitHub Profile
# Install if lshw not found
apt install lshw
# Check disk info
lshw -class disk -class storage
# Do this again for every disk
qm set <disk_id> -virtio<number from 2 to 999, remember that you cannot use 1!> /dev/disk/by-id/<disk_long_id>
# (this prints: update VM <disk_id> -virtio2 /dev/disk/by-id/<disk_long_id>)
@drzulus
drzulus / proxmox_resize_pve-root
Created August 17, 2022 12:51
Proxmox - Resize pve-root
# Check disk space before
df -h
# Delete local-lvm storage in gui
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
@drzulus
drzulus / windows_and_office_kms_setup.adoc
Created August 15, 2022 09:49 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup