Update Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 8s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 8s
This commit is contained in:
@@ -67,15 +67,32 @@ qm template 9000
|
||||
```
|
||||
|
||||
### Deploy a New VM from Template
|
||||
You can now create new VMs instantly from the template using “Full Clone” or “Linked Clone” depending on your storage type and needs.
|
||||
```sh
|
||||
# Create a new VM (example: VM 9100) cloned from the template
|
||||
qm clone 9000 9100 --name ubuntu-2404-test --full
|
||||
You can now create new VMs instantly from the template we created above.
|
||||
|
||||
# Optionally, override Cloud-Init settings for this clone:
|
||||
qm set 9100 --ciuser nicole --cipassword 'AnotherStrongPass'
|
||||
qm set 9100 --ipconfig0 ip=192.168.3.67/24,gw=192.168.3.1
|
||||
=== "Via WebUI"
|
||||
|
||||
# Boot the new cloned VM
|
||||
qm start 9100
|
||||
```
|
||||
- Log into the ProxmoxVE node where the template was created
|
||||
- Right-Click the Template > "**Clone**"
|
||||
- Give the new VM a name
|
||||
- Set the "Mode" of the clone to "**Full Clone**"
|
||||
- Navigate to the new GuestVM in ProxmoxVE and click on the "**Cloud-Init**" tab
|
||||
- Change the "**User**" and "**Password**" fields if you want to change them
|
||||
- Double-click on the "**IP Config (net0)**" option
|
||||
- **IPv4/CIDR**: `192.168.3.67/24
|
||||
- **Gateway (IPv4)**: `192.168.3.1`
|
||||
- Click the "**OK**" button
|
||||
- Start the VM and wait for it to automatically provision itself
|
||||
|
||||
=== "Via CLI"
|
||||
|
||||
``` sh
|
||||
# Create a new VM (example: VM 9100) cloned from the template
|
||||
qm clone 9000 9100 --name ubuntu-2404-test --full
|
||||
|
||||
# Optionally, override Cloud-Init settings for this clone:
|
||||
qm set 9100 --ciuser nicole --cipassword 'AnotherStrongPass'
|
||||
qm set 9100 --ipconfig0 ip=192.168.3.67/24,gw=192.168.3.1
|
||||
|
||||
# Boot the new cloned VM
|
||||
qm start 9100
|
||||
```
|
||||
|
Reference in New Issue
Block a user