WemXPro / tracker

This repository is made to track bugs and suggestions in WemX
8 stars 4 forks source link

[Proxmox] Cloud-Init & Automation Support #358

Open SprayerGaming opened 8 months ago

SprayerGaming commented 8 months ago

Describe the solution you'd like

Cloud-Init & Virtual Machine cloning

Describe alternatives you've considered

An ability to support cloud-init feature of Proxmox, users could set their own username, password, DNS, hostname etc... , WemX panel could display the IP adress of the actual VM including username & password would be dope tho. Automation: ability to clone VM templates instead of installing from an ISO image.

Additional context

None.

EWANZO101 commented 8 months ago

Hey, so about two of those things have nothing to do with Wemx as Proxmox, 'cloud-init' would be something you set up on your Proxmox VE node through SSH at the moment. Secondly, if you have the know-how, you could also add the display IP. Also, DNS is available in Proxmox on every VM, as can be seen here last thing Automation: ability to clone VM templates instead of installing from an ISO image. u could do most of what u asked in a cloud init script Capture just change USER PERMS

EWANZO101 commented 8 months ago

@SprayerGaming this is the only part i am unsure about #users could set their own username, password,# maybe u can use this example ``` #cloud-config

users:

runcmd:

SprayerGaming commented 8 months ago

Ah okay, these cloud configs would be good. And what about making a feature to clone an existing VM instead of installing froman ISO ? So WemX administrator users can set their Proxmox service to be able to clone a VM template by entering the VMID or just setting the package to be installed from an ISO.

EWANZO101 commented 8 months ago

Ah okay, these cloud configs would be good. And what about making a feature to clone an existing VM instead of installing froman ISO ? So WemX administrator users can set their Proxmox service to be able to clone a VM template by entering the VMID or just setting the package to be installed from an ISO.

so part of that is already a thing in a dev v of proxmox as its being tested so i think that is going to be a thing if u look at this screen shot Screenshot_2023-12-16_175816 is this what u would be looking at having ? @SprayerGaming

SprayerGaming commented 8 months ago

Exactly, and if the user can select their OS template, then the VMID template (that, would be cloned) should also change, so it could determine the OS of the VM whatever somehow. Or, if the ISO could be selected, then Proxmox should also set the exact ISO which was selected by the user :)

EWANZO101 commented 8 months ago

TBH i think the os selelect has not been added back yet in the dev V and also ISO most ISO LIST THE NAME OF THE OS ON THE ISO