diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
commit | 979ec08d3d35118f106559dc59c1961cd3534ba7 (patch) | |
tree | 5eed6a91277cc0326f5a1d7273cd3f6a9d2a2a60 /docs | |
parent | 98cd7c1de49237ebc88b08c81d5a1ec0f98864c6 (diff) | |
download | infra-master.tar.gz infra-master.tar.bz2 infra-master.tar.xz infra-master.zip |
Diffstat (limited to 'docs')
-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: |