1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-14 05:35:40 +02:00

pve*, qm*: add missing option placeholders (#17558)

This commit is contained in:
Managor 2025-08-10 10:44:07 +03:00 committed by GitHub
parent 205090d37d
commit 1e4a4db014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 30 additions and 30 deletions

View file

@ -9,4 +9,4 @@
- Clone a container with a custom name:
`pct clone {{template_id}} {{copy_id}} --hostname {{host_name}}`
`pct {{[cl|clone]}} {{template_id}} {{copy_id}} --hostname {{host_name}}`

View file

@ -5,4 +5,4 @@
- Convert a container into a template:
`pct template {{100}}`
`pct {{[t|template]}} {{100}}`

View file

@ -5,15 +5,15 @@
- Compile and print all firewall rules:
`pve-firewall compile`
`pve-firewall {{[c|compile]}}`
- Show information about the local network:
`pve-firewall localnet`
`pve-firewall {{[l|localnet]}}`
- Restart the Proxmox VE Firewall service:
`pve-firewall restart`
`pve-firewall {{[r|restart]}}`
- Start the Proxmox VE Firewall service:
@ -25,7 +25,7 @@
- Simulate all firewall rules:
`pve-firewall simulate`
`pve-firewall {{[si|simulate]}}`
- Show the status of Proxmox VE Firewall:

View file

@ -5,16 +5,16 @@
- Update container template database:
`pveam update`
`pveam {{[u|update]}}`
- List available templates:
`pveam available`
`pveam {{[a|available]}}`
- Download a template:
`pveam download {{local}} {{template_name}}`
`pveam {{[d|download]}} {{local}} {{template_name}}`
- List downloaded templates:
`pveam list {{local}}`
`pveam {{[l|list]}} {{local}}`

View file

@ -9,24 +9,24 @@
- Add a node to the cluster configuration (internal use):
`pvecm addnode {{node}}`
`pvecm {{[addn|addnode]}} {{node}}`
- Display the version of the cluster join API available on this node:
`pvecm apiver`
`pvecm {{[ap|apiver]}}`
- Generate new cluster configuration:
`pvecm create {{clustername}}`
`pvecm {{[c|create]}} {{clustername}}`
- Remove a node from the cluster configuration:
`pvecm delnode {{node}}`
`pvecm {{[d|delnode]}} {{node}}`
- Display the local view of the cluster nodes:
`pvecm nodes`
`pvecm {{[n|nodes]}}`
- Display the local view of the cluster status:
`pvecm status`
`pvecm {{[s|status]}}`

View file

@ -5,8 +5,8 @@
- List available nodes:
`pvesh get /nodes`
`pvesh {{[g|get]}} /nodes`
- Discover API paths:
`pvesh ls {{/}}`
`pvesh {{[l|ls]}} {{/}}`

View file

@ -5,16 +5,16 @@
- Get status for all datastores:
`pvesm status`
`pvesm {{[st|status]}}`
- List storage contents:
`pvesm list {{storage_name}}`
`pvesm {{[l|list]}} {{storage_name}}`
- Add a directory storage:
`pvesm add dir {{storage_name}} --path {{path/to/directory}}`
`pvesm add {{[d|dir]}} {{storage_name}} --path {{path/to/directory}}`
- Remove a storage:
`pvesm remove {{storage_name}}`
`pvesm {{[r|remove]}} {{storage_name}}`

View file

@ -5,12 +5,12 @@
- List users:
`pveum user list`
`pveum {{[u|user]}} {{[l|list]}}`
- Add a user:
`pveum user add {{username}}@pve`
`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve`
- Delete a user:
`pveum user delete {{username}}@pve`
`pveum {{[u|user]}} {{[d|delete]}} {{username}}@pve`

View file

@ -5,8 +5,8 @@
- Rescan all storages and update disk sizes and unused disk images of a specific virtual machine:
`qm disk rescan {{vm_id}}`
`qm {{[di|disk]}} {{[resc|rescan]}} {{vm_id}}`
- Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations:
`qm disk rescan --dryrun {{true}} {{vm_id}}`
`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun {{true}} {{vm_id}}`

View file

@ -5,8 +5,8 @@
- List all virtual machines:
`qm list`
`qm {{[l|list]}}`
- List all virtual machines with a full status about the ones which are currently running:
`qm list --full 1`
`qm {{[l|list]}} --full 1`

View file

@ -5,7 +5,7 @@
- Attach to a terminal:
`qm terminal {{100}}`
`qm {{[ter|terminal]}} {{100}}`
- Detach from a terminal: