Hello All, a customer asked us to make Cloud init deployment more fast and less confused.
So, we from KMEE created a proxmox cloud-init tool to help deploy. Its only shellscript solution.
The repository is: https://github.com/kmee/proxmox-cloud-init-tools
Feel free to test and report issues on Github if possible.
cd proxmox-cloud-init-tools
touch pub_keys/id_rsa.pub
copy your public ssh keys to pub/keys/id_rsa.pub file
./deploy.sh
So, we from KMEE created a proxmox cloud-init tool to help deploy. Its only shellscript solution.
The repository is: https://github.com/kmee/proxmox-cloud-init-tools
Feel free to test and report issues on Github if possible.
Proxmox cloud-init tools
ShellScript tools to deploy VM cloud-init in Proxmox Virtual Environment (PVE)Supported PVE Versions
- PVE 6 Not tested
- PVE 6.1 [OK] - Tested
- PVE 6.2 [OK] - Tested
- PVE 6.3 [OK] - Tested
Features
- Auto cloud images download
- Debian 9 - Stretch
- Debian 10 - Buster
- Ubuntu Server 18.04 LTS - Bionic
- Ubuntu Server 20.04 LTS - Focal
- Set VM Hostname
- Set VM Description
- Memory (Available to select 2GB,4GB,8GB and 16GB)
- CPU Cores
- CPU Sockets
- Storage destination (Local, NFS, LVM/LVM-Thin, etc)
- Define user, by default root user is defined. If you change to another, this user can be used with sudo powers without password;
- Insert SSH authorized keys to user defined on step 8 Very important;
- Select bridge network;
- Select Static/IP or DHCP usage;
- Define uniq VMID;
- Can start or not, VM after deployment.
Usage
- Login on your Proxmox VE server over SSH or Console Shell
- Clone proxmox-cloud-init project
cd proxmox-cloud-init-tools
- Create authorized keys files
touch pub_keys/id_rsa.pub
copy your public ssh keys to pub/keys/id_rsa.pub file
- Adjust permission, then run deploy.sh
./deploy.sh
- Follow instructions on screen.