From 47259b553d904e4580194874ad17c79d49efaf8a Mon Sep 17 00:00:00 2001 From: "jostein@valkyrie3.skyfritt.net" Date: Tue, 7 Oct 2025 23:13:08 +0200 Subject: [PATCH] updates --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 8758a90..23dcf0e 100644 --- a/README.md +++ b/README.md @@ -31,37 +31,37 @@ scp debian-13-genericcloud-amd64-shrink.qcow2 root@........................... # In PVE host: - Create a VM 200 # use {vmid} you wish - Name: Debian-Trixie-CloudINIT-Template #name I used - Do not use any media, Qemu Agent (ticked), Remove all disk, 2 cores x86-64-v2-AES, 4096 RAM #settings I chose - Set to not run on completion +Create a VM 200 # use {vmid} you wish +Name: Debian-Trixie-CloudINIT-Template #name I used +Do not use any media, Qemu Agent (ticked), Remove all disk, 2 cores x86-64-v2-AES, 4096 RAM #settings I chose +Set to not run on completion In Host node shell: -Code: - +``` qm importdisk 200 debian-13-genericcloud-amd64-shrink.qcow2 Storage --format qcow2 #change 200 to the actual {vmid} you used above & required Storage location, I used 'Storage' +``` In GUI of VM 200 (or your {vmid} as above): - Remove the CD/DVD drive # I don't need one - Add unused disk as scsi0, ssd on discard on default nocache #my choices, adjust accordingly - Add cloud-init drive as ide0 - In cloud-init set User as root & password, set IPV4 as dhcp #my choices, adjust accordingly - In VM Options set boot order scsi0 as first & only boot device - Convert VM 200 (or your {vmid} as above) to Template +* Remove the CD/DVD drive # I don't need one +* Add unused disk as scsi0, ssd on discard on default nocache #my choices, adjust accordingly +* Add cloud-init drive as ide0 +* In cloud-init set User as root & password, set IPV4 as dhcp #my choices, adjust accordingly +* In VM Options set boot order scsi0 as first & only boot device +* Convert VM 200 (or your {vmid} as above) to Template Done! #I make a backup of this VM template once done. Testing: - Create a Full clone - Set Cloud-Init settings of the clone as required & regenerate Cloud-Init image - Start cloned VM (This will fully setup the VM & should fully Update & Upgrade it) - Shutdown - In GUI; Remove Cloud-Init drive from Hardware +* Create a Full clone +* Set Cloud-Init settings of the clone as required & regenerate Cloud-Init image +* Start cloned VM (This will fully setup the VM & should fully Update & Upgrade it) +* Shutdown +* In GUI; Remove Cloud-Init drive from Hardware Done!