0.2.0 • Published 4 years ago

@u4/spice v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

proxmox access helper

Setup

Install

npm install -g @u4/spice

ensure that you have a spice client installed

List your proxmox servers

Create a googleSheet doc like:

hostnameip1ip2ip3ip4...
proxmox1proxmox.example.com:8006192.168.1.210.0.1.2
proxmox21.2.3.410.0.0.2
proxmox32.3.3.4:8006,http://2.3.3.4:312810.0.0.2
  • This sheet can contains any number of ip collumn, commonly use to give multiple access ip for public / local / vpn access
  • Each ip call contain an address:port to access you proxmox https server (usualy on port 8006).
  • Each value can be postfid with an http://ip:port to provid a non default proxmox proxy port (default is port 3128)

Configure access

Once the google sheet is filled, enable sharing for Anyone on the internet with this link can view get the document id from the URL.

Then configure some environnement variable: | variable name | value | |---------------|--------------------------| | PROX_SHEET_ID | your google sheet id | | PROX_USER | your proxmox user (default is root@pam) | | PROX_PASS | your proxmox password |

Usage

commandaction
spice --helplist all actions
spice indexforce updating your proxmox VM status
spice certextract all your proxmox certificat to enforce certificat checking useing NODE_EXTRA_CA_CERTS
spice infolist you hosts VMs
spice listlist you hosts VMs
spice 12connect to your 12th VM
spice passdump your proxmox password

Links

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago