Update README.md

This commit is contained in:
colin 2024-08-11 19:05:24 -04:00
parent cd9eedb49c
commit d17b3544d0
1 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# 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
@ -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
```
## Notes
## Manual Template Creation
- **VM Replacement:** The script will delete any existing virtual machine with the same ID (`8000`) before creating a new one.
- **Defaults:** The default storage location is set to `proxmox`, and the default VM name is `ubuntu-cloudinit2404`. Both can be overridden by providing arguments.
After configuring your VM, when you're ready, create a template using the following command:
```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.