mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Rename get_boot_order -> set_boot_order
s/get/set, since it sets the boot order
This commit is contained in:
parent
c49ae38e10
commit
778a5c3f8e
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ def delete(vmid):
|
|||
|
||||
@app.route('/vm/<string:vmid>/boot_order', methods=['POST'])
|
||||
@auth.oidc_auth
|
||||
def get_boot_order(vmid):
|
||||
def set_boot_order(vmid):
|
||||
user = User(session['userinfo']['preferred_username'])
|
||||
connect_proxmox()
|
||||
if user.rtp or int(vmid) in user.allowed_vms:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue