Updates
This commit is contained in:
parent
957c5b2af8
commit
d4eb573820
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -41,12 +41,12 @@ virt-customize -a debian-13-genericcloud-amd64.qcow2 --run-command "sed -i 's/Pa
|
|||
qemu-img convert -O qcow2 -c -o preallocation=off debian-13-genericcloud-amd64.qcow2 debian-13-genericcloud-amd64-shrink.qcow2 #convert & compress qcow2 image
|
||||
```
|
||||
|
||||
#send image to PVE host:
|
||||
send image to PVE host:
|
||||
```
|
||||
scp debian-13-genericcloud-amd64-shrink.qcow2 root@........................... #enter desired location on host node
|
||||
```
|
||||
|
||||
In PVE host:
|
||||
### In PVE host:
|
||||
|
||||
* Create a VM 200 # use {vmid} you wish
|
||||
* Name: Debian-Trixie-CloudINIT-Template #name I used
|
||||
|
|
@ -54,13 +54,13 @@ In PVE host:
|
|||
* Set to not run on completion
|
||||
|
||||
|
||||
In Host node shell:
|
||||
##### In Host node shell:
|
||||
```
|
||||
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):
|
||||
##### 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
|
||||
|
|
@ -72,7 +72,7 @@ In GUI of VM 200 (or your {vmid} as above):
|
|||
|
||||
Done! #I make a backup of this VM template once done.
|
||||
|
||||
Testing:
|
||||
### Testing:
|
||||
|
||||
* Create a Full clone
|
||||
* Set Cloud-Init settings of the clone as required & regenerate Cloud-Init image
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue