mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 05:55:44 +02:00
qm-cloud-init: rename to qm-cloudinit and fix typos (#17366)
This commit is contained in:
parent
c547e2e903
commit
633fd40dc5
1 changed files with 6 additions and 6 deletions
|
@ -1,24 +1,24 @@
|
||||||
# qm cloud init
|
# qm cloudinit
|
||||||
|
|
||||||
> Configure cloudinit settings for virtual machines managed by Proxmox Virtual Environment (PVE).
|
> Configure cloudinit settings for virtual machines managed by Proxmox Virtual Environment (PVE).
|
||||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||||
|
|
||||||
- Configure cloudinit settings for a specific user and set password for the user:
|
- Configure cloudinit settings for a specific user and set password for the user:
|
||||||
|
|
||||||
`qm cloud-init {{vm_id}} -user={{user}} -password={{password}}`
|
`qm {{[clou|cloudinit]}} {{vm_id}} -user={{user}} -password={{password}}`
|
||||||
|
|
||||||
- Configure cloudinit settings for a specific user and set password for the user with a specific SSH key:
|
- Configure cloudinit settings for a specific user and set password for the user with a specific SSH key:
|
||||||
|
|
||||||
`qm cloud-init {{vm_id}} -user={{user}} -password={{password}} -sshkey={{ssh_key}}`
|
`qm {{[clou|cloudinit]}} {{vm_id}} -user={{user}} -password={{password}} -sshkey={{ssh_key}}`
|
||||||
|
|
||||||
- Set the hostname for a specific virtual machine:
|
- Set the hostname for a specific virtual machine:
|
||||||
|
|
||||||
`qm cloud-init {{vm_id}} -hostname={{hostname}}`
|
`qm {{[clou|cloudinit]}} {{vm_id}} -hostname={{hostname}}`
|
||||||
|
|
||||||
- Configure the network interface settings for a specific virtual machine:
|
- Configure the network interface settings for a specific virtual machine:
|
||||||
|
|
||||||
`qm cloud-init {{vm_id}} -ipconfig {{ipconfig}}`
|
`qm {{[clou|cloudinit]}} {{vm_id}} -ipconfig {{ipconfig}}`
|
||||||
|
|
||||||
- Configure a shell script to execute before `cloud-ini` is run on a virtual machine:
|
- Configure a shell script to execute before `cloud-ini` is run on a virtual machine:
|
||||||
|
|
||||||
`qm cloud-init {{vm_id}} -pre {{script}}`
|
`qm {{[clou|cloudinit]}} {{vm_id}} -pre {{script}}`
|
Loading…
Add table
Reference in a new issue