[GH-ISSUE #3] How to run? #2

Open
opened 2026-02-26 17:45:56 +03:00 by kerem · 1 comment
Owner

Originally created by @semihtore on GitHub (Oct 5, 2022).
Original GitHub issue: https://github.com/cvk98/Proxmox-host-maintenance-mode/issues/3

root@node3:~/Proxmox-host-maintenance-mode# python3 maintenance-mode.py Traceback (most recent call last): File "/root/Proxmox-host-maintenance-mode/maintenance-mode.py", line 372, in <module> cluster = Cluster(server_url, auth) NameError: name 'server_url' is not defined root@node3:~/Proxmox-host-maintenance-mode#

image

Originally created by @semihtore on GitHub (Oct 5, 2022). Original GitHub issue: https://github.com/cvk98/Proxmox-host-maintenance-mode/issues/3 `root@node3:~/Proxmox-host-maintenance-mode# python3 maintenance-mode.py Traceback (most recent call last): File "/root/Proxmox-host-maintenance-mode/maintenance-mode.py", line 372, in <module> cluster = Cluster(server_url, auth) NameError: name 'server_url' is not defined root@node3:~/Proxmox-host-maintenance-mode# ` ![image](https://user-images.githubusercontent.com/4141664/194044548-20162b96-bd69-4c9e-a673-445ffd346e21.png)
Author
Owner

@cvk98 commented on GitHub (Oct 21, 2022):

You need to install Pycharm.
Copy the code there.
Install all libraries.
Enter your server data, login, password here:
server = "https://10.10.10.100:8006 "
auth = {'username': "root@pam", 'password': "YOUR_PASSWORD"}
And run it.

<!-- gh-comment-id:1287339468 --> @cvk98 commented on GitHub (Oct 21, 2022): You need to install Pycharm. Copy the code there. Install all libraries. Enter your server data, login, password here: server = "https://10.10.10.100:8006 " auth = {'username': "root@pam", 'password': "YOUR_PASSWORD"} And run it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxmox-host-maintenance-mode#2
No description provided.