mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
qm-cloud-init : add page (#10891)
* qm cloud-init : add page --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
4c3bc78bcf
commit
be0988439b
1 changed files with 24 additions and 0 deletions
24
pages/linux/qm-cloud-init.md
Normal file
24
pages/linux/qm-cloud-init.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# qm cloud init
|
||||
|
||||
> Configure cloudinit settings for virtual machines managed by Proxmox Virtual Environment (PVE).
|
||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||
|
||||
- Configure cloudinit settings for a specific user and set password for the user:
|
||||
|
||||
`qm cloud-init {{vm_id}} -user={{user}} -password={{password}}`
|
||||
|
||||
- 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}}`
|
||||
|
||||
- Set the hostname for a specific virtual machine:
|
||||
|
||||
`qm cloud-init {{vm_id}} -hostname={{hostname}}`
|
||||
|
||||
- Configure the network interface settings for a specific virtual machine:
|
||||
|
||||
`qm cloud-init {{vm_id}} -ipconfig {{ipconfig}}`
|
||||
|
||||
- Configure a shell script to execute before `cloud-ini` is run on a virtual machine:
|
||||
|
||||
`qm cloud-init {{vm_id}} -pre {{script}}`
|
Loading…
Add table
Reference in a new issue