Sie sind auf Seite 1von 2

5/17/2019 GitHub - timur-enikeev/proxmoxsh: Command line utility for managing Proxmox VE

timur‑enikeev / proxmoxsh

Join GitHub today Dismiss


GitHub is home to over 36 million developers working together to host
and review code, manage projects, and build software together.
Sign up

Command line utility for managing Proxmox VE


35 commits 1 branch 1 release 1 contributor GPL‑2.0
Branch: master New pull request Find File Clone or download
timur‑enikeev mac search improved Latest commit 8277a73 on Nov 2, 2017
proxmoxsh mac search improved 2 years ago
LICENSE Initial commit 3 years ago
README.md mac search improved 2 years ago
setup.py Added search‑vlan command 3 years ago
README.md

proxmoxsh
Command line utility for managing Proxmox VE The goal of the project is create more convinient than pvesh utility for
managing Proxmox VE cluster
Requirements
Python 2 (tested on 2.7)
pyproxmox (https://github.com/Daemonthread/pyproxmox)
License
GPLv2 or later
Howto
Create config file $HOME/.config/proxmoxsh/proxmoxsh.conf containing:
{'credentials': {'url':'NODE_URL', 'username':'USER@REALM', 'password':'PASSWORD'}, }
REALM may be "pam" or "pve".
If file doesn't exist you will be asked for credentials.
Currently supported commands:
search request — find VM by name or ID
search‑d request — find VM by name, ID or description (slower than search)
search‑vlan vlan_tag — find vm that has interface with entered vlan tag
search‑mac mac address (hex) or it's part, octets are separated by : — find vm that has interface with entered mac
address or it's part
https://github.com/timur-enikeev/proxmoxsh 1/2
5/17/2019 GitHub - timur-enikeev/proxmoxsh: Command line utility for managing Proxmox VE
start VM ID — start virtual machine
stop VM ID — stop (force turn off) virtual machine
shutdown VM ID — shutdown (gently turn off) virtual machine
reset VM ID — forse reset virtual machine
suspend VM ID — suspend virtual machine
resume VM ID — resume virtual machine from suspend
migrate VM ID Destination node parameters — migrate VM to another node
parameters:
‑online — online migration of running machine
info node — Print information about node
info VM ID — Print information about VM
setoption VM ID option name option value — set VM configuration option
You can launch proxmoxsh without arguments and enter commands interactively or launch proxmoxsh with "‑c
command" arguments.

https://github.com/timur-enikeev/proxmoxsh 2/2

Das könnte Ihnen auch gefallen