mirror of
https://github.com/kmee/proxmox-cloud-init-tools.git
synced 2026-04-25 00:05:49 +03:00
No description
- Shell 100%
|
|
||
|---|---|---|
| deploy.sh | ||
| LICENSE | ||
| README.md | ||
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
- OpenSUSE LEAP 15.2
- 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
git clone https://github.com/kmee/proxmox-cloud-init-tools.git
cd proxmox-cloud-init-tools
- Create authorized keys files
mkdir pub_keys
touch pub_keys/id_rsa.pub
copy your public ssh keys to pub/keys/id_rsa.pub file
- Adjust permission, then run deploy.sh
chmod +x deploy.sh
./deploy.sh
- Follow instructions on screen.
Important
Before deploy VM using things script, upload your public ssh key to ./pub_keys/id_rsa.pub file. if you do not upload keys do pub_keys/id_rsa.pub, you will not access VM.
Contributors
Ananias Filho - @ananiasfilho
Frederico Siena