Update README.md
This commit is contained in:
parent
cd9eedb49c
commit
d17b3544d0
13
README.md
13
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Cloud Init Script
|
# Cloud Init Script
|
||||||
|
|
||||||
This script automates the setup of a virtual machine using an Ubuntu Cloud Image in Proxmox, with options to create a template, clone it, and override any existing virtual machine with the same ID.
|
This script automates the setup of a virtual machine using an Ubuntu Cloud Image in Proxmox, with options to create a template and override any existing virtual machine with the same ID.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -30,9 +30,14 @@ To specify both a different storage (`local`) and a custom VM name (`custom-vm-n
|
||||||
curl -sSL https://git.nixc.us/colin/cloud-init/raw/branch/main/install.sh | bash -s -- local custom-vm-name
|
curl -sSL https://git.nixc.us/colin/cloud-init/raw/branch/main/install.sh | bash -s -- local custom-vm-name
|
||||||
```
|
```
|
||||||
|
|
||||||
## Notes
|
## Manual Template Creation
|
||||||
|
|
||||||
- **VM Replacement:** The script will delete any existing virtual machine with the same ID (`8000`) before creating a new one.
|
After configuring your VM, when you're ready, create a template using the following command:
|
||||||
- **Defaults:** The default storage location is set to `proxmox`, and the default VM name is `ubuntu-cloudinit2404`. Both can be overridden by providing arguments.
|
|
||||||
|
```bash
|
||||||
|
qm template <VM_ID>
|
||||||
|
```
|
||||||
|
|
||||||
|
Where `<VM_ID>` is the ID of the VM you created (default is `8000`).
|
||||||
|
|
||||||
No license or contributors are defined for this script.
|
No license or contributors are defined for this script.
|
Loading…
Reference in New Issue