forked from Fediversity/Fediversity
Move Proxmox-related things under deployment/proxmox
This commit is contained in:
parent
07fa942989
commit
84ba26d187
|
@ -1,8 +1,8 @@
|
|||
#+title: Provisioning a Proxmox VM
|
||||
#+author: Kevin Muller, Hans van Zijst & Nicolas Jeannerod
|
||||
#+date: <2024-10-25 Fri>
|
||||
#+title: Provisioning VMs via Proxmox
|
||||
|
||||
* Fediversity Proxmox
|
||||
* Quick links
|
||||
- Proxmox API doc :: https://pve.proxmox.com/pve-docs/api-viewer
|
||||
- Fediversity Proxmox ::
|
||||
- http://192.168.51.81:8006/.
|
||||
- It is only accessible via Procolix's VPN; see with Kevin.
|
||||
- You will need identifiers. Also see with Kevin. Select “Promox VE authentication server”.
|
|
@ -1,8 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
set -euC
|
||||
|
||||
## Proxmox API doc: https://pve.proxmox.com/pve-docs/api-viewer
|
||||
|
||||
################################################################################
|
||||
## Parse arguments
|
||||
|
||||
|
@ -24,7 +22,7 @@ Required:
|
|||
--vmid INT Identifier of the VM
|
||||
|
||||
If not provided via the command line, username and password will be looked for
|
||||
in a `.proxmox` file in the current working directory, the username on the
|
||||
in a '.proxmox' file in the current working directory, the username on the
|
||||
first line, and the password on the second.
|
||||
|
||||
Optional:
|
||||
|
@ -68,11 +66,7 @@ fi
|
|||
|
||||
[ -z "$vmid" ] && die 'Required: `--vmid`.\n'
|
||||
|
||||
printf 'Configuration:\n'
|
||||
|
||||
printf ' username: %s\n' $username
|
||||
printf ' password: %s\n' $password
|
||||
printf ' vmid: %s\n' $vmid
|
||||
printf 'Provisioning VM %d with:\n' $vmid
|
||||
|
||||
readonly iso
|
||||
readonly sockets
|
Loading…
Reference in a new issue