Amos Jones ajones
  • Joined on 2023-05-06
ajones commented on issue ajones/fixparsec#5 2023-05-20 07:37:22 +00:00
Install and setup dev env

The environment setup is an lxc container using ubuntu 22.04. Git, nodejs, and npm packages are installed via apt. npm init was run. npm install express --save was run.

ajones commented on issue ajones/fixparsec#7 2023-05-07 15:58:10 +00:00
Get the proxmox api key

Fill in notes on new user and api process

ajones opened issue ajones/fixparsec#7 2023-05-07 14:08:40 +00:00
Get the proxmox api key
ajones closed issue ajones/fixparsec#6 2023-05-07 14:06:31 +00:00
Find the api route to reset vms.
ajones commented on issue ajones/fixparsec#6 2023-05-07 14:05:55 +00:00
Find the api route to reset vms.

From the aforementioned page:

HTTP: POST /api2/json/nodes/{node}/qemu/{vmid}/status/reboot

Reboot the VM by shutting it down, and starting it again. Applies pending changes.

Required…

ajones opened issue ajones/fixparsec#6 2023-05-07 03:57:57 +00:00
Find the api route to reset vms.
ajones opened issue ajones/fixparsec#5 2023-05-07 03:56:30 +00:00
Install and setup dev env
ajones opened issue ajones/fixparsec#4 2023-05-07 03:09:43 +00:00
Step 4 would be to take a JSON file as the configuration. Stuff like proxmox API key and a map of names to VM IDs
ajones opened issue ajones/fixparsec#3 2023-05-07 03:09:34 +00:00
Step 3 would be a simple HTML page to display the button
ajones opened issue ajones/fixparsec#2 2023-05-07 03:09:20 +00:00
Step two, use express js to make a API route that takes the ID and runs the function
ajones opened issue ajones/fixparsec#1 2023-05-07 03:08:59 +00:00
Step one, write a fun function in node that takes a VM is and API and resets that VM
ajones created repository ajones/fixparsec 2023-05-07 03:04:51 +00:00