diff options
Diffstat (limited to 'docs/new-vm.md')
-rw-r--r-- | docs/new-vm.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/new-vm.md b/docs/new-vm.md index 6b76c0f..76e4eea 100644 --- a/docs/new-vm.md +++ b/docs/new-vm.md @@ -3,8 +3,9 @@ Download generic cloud image: cd /data3/libvirt/images/pool/ export TS=20240717-1811 wget https://cloud.debian.org/images/cloud/bookworm/$TS/debian-12-genericcloud-amd64-$TS.qcow2 - cp debian-$TS.qcow2 $VM.qcow2 + cp debian-*-$TS.qcow2 $VM.qcow2 qemu-img resize $VM.qcow2 20G + # This requires guestfs-tools virt-resize --expand /dev/sda1 debian-*$TS.qcow2 $VM.qcow2 Inject SSH key for root user: |