Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run? #3

Open
semihtore opened this issue Oct 5, 2022 · 1 comment
Open

How to run? #3

semihtore opened this issue Oct 5, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@semihtore
Copy link

semihtore commented Oct 5, 2022

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

@cvk98
Copy link
Owner

cvk98 commented 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.

@cvk98 cvk98 added the documentation Improvements or additions to documentation label Oct 27, 2022
@cvk98 cvk98 pinned this issue Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants