aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-12-22 19:30:15 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-12-22 19:30:15 +0100
commit979ec08d3d35118f106559dc59c1961cd3534ba7 (patch)
tree5eed6a91277cc0326f5a1d7273cd3f6a9d2a2a60 /docs
parent98cd7c1de49237ebc88b08c81d5a1ec0f98864c6 (diff)
downloadinfra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.gz
infra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.bz2
infra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.xz
infra-979ec08d3d35118f106559dc59c1961cd3534ba7.zip
Diffstat (limited to 'docs')
-rw-r--r--docs/new-vm.md3
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: