mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 07:50:19 +00:00
Update readme.md
This commit is contained in:
parent
0b56372246
commit
137d4b564d
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
1. Download the ISO using the GUI (tested on https://cloud-images.ubuntu.com/lunar/current/lunar-server-cloudimg-amd64-disk-kvm.img)
|
1. Download the ISO using the GUI (tested on https://cloud-images.ubuntu.com/lunar/current/lunar-server-cloudimg-amd64-disk-kvm.img)
|
||||||
1. Create the VM via CLI
|
1. Create the VM via CLI
|
||||||
```
|
```bash
|
||||||
qm create 5000 --memory 2048 --core 2 --name ubuntu-cloud --net0 virtio,bridge=vmbr0
|
qm create 5000 --memory 2048 --core 2 --name ubuntu-cloud --net0 virtio,bridge=vmbr0
|
||||||
cd /var/lib/vz/template/iso/
|
cd /var/lib/vz/template/iso/
|
||||||
qm importdisk 5000 lunar-server-cloudimg-amd64-disk-kvm.img <YOUR STORAGE HERE>
|
qm importdisk 5000 lunar-server-cloudimg-amd64-disk-kvm.img <YOUR STORAGE HERE>
|
||||||
|
@ -10,5 +10,8 @@ qm set 5000 --boot c --bootdisk scsi0
|
||||||
qm set 5000 --serial0 socket --vga serial0
|
qm set 5000 --serial0 socket --vga serial0
|
||||||
```
|
```
|
||||||
3. Expand the VM disk size to a suitable size (suggested 10 GB)
|
3. Expand the VM disk size to a suitable size (suggested 10 GB)
|
||||||
|
```bash
|
||||||
|
qm disk resize 5000 scsi0 10G
|
||||||
|
```
|
||||||
4. Create the Cloud-Init template
|
4. Create the Cloud-Init template
|
||||||
5. Deploy new VMs by cloning the template (full clone)
|
5. Deploy new VMs by cloning the template (full clone)
|
||||||
|
|
Loading…
Reference in a new issue