From 979ec08d3d35118f106559dc59c1961cd3534ba7 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Dec 2024 19:30:15 +0100 Subject: loki --- docs/new-vm.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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: -- cgit v1.2.3