I have a question: Is it possible to run our script without using the Proxmox shell? #5034
Replies: 4 comments 12 replies
-
how are you planing to create a container inside a Proxmox host without using its shell commands? |
Beta Was this translation helpful? Give feedback.
-
Heh? I dont understand the Request or Goal 😄 |
Beta Was this translation helpful? Give feedback.
-
You may be able to use ssh, basically your application would make an ssh connection to the proxmox node and make it run our script If I understand that correctly. |
Beta Was this translation helpful? Give feedback.
-
Maybe using API calls? If they exist, of course ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a Python Flask application with a user interface that contains image icons for MySQL and MongoDB. When one of these icons is clicked, a script is triggered that creates a container on Proxmox via SSH.
Now, I want to create a container on Proxmox using a helper script via python flask apps , without using SSH.
This is my current code:
@app.route('/create_lxc', methods=['GET', 'POST'])
def lxc_container():
logs = []
Beta Was this translation helpful? Give feedback.
All reactions