mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 00:47:36 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,25 +5,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# qm cloudinit
|
||||
|
||||
> Configure cloudinit settings for virtual machines managed by Proxmox Virtual Environment (PVE).
|
||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||
> Manage Cloud-Init settings.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_cloudinit_dump>.
|
||||
|
||||
- Configure cloudinit settings for a specific user and set password for the user:
|
||||
- Generate a cloudinit file for a specific configuration type:
|
||||
|
||||
`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:
|
||||
|
||||
`qm {{[clou|cloudinit]}} {{vm_id}} -user={{user}} -password={{password}} -sshkey={{ssh_key}}`
|
||||
|
||||
- Set the hostname for a specific virtual machine:
|
||||
|
||||
`qm {{[clou|cloudinit]}} {{vm_id}} -hostname={{hostname}}`
|
||||
|
||||
- Configure the network interface settings for a specific virtual machine:
|
||||
|
||||
`qm {{[clou|cloudinit]}} {{vm_id}} -ipconfig {{ipconfig}}`
|
||||
|
||||
- Configure a shell script to execute before `cloudinit` is run on a virtual machine:
|
||||
|
||||
`qm {{[clou|cloudinit]}} {{vm_id}} -pre {{script}}`
|
||||
`qm {{[clou|cloudinit]}} {{[d|dump]}} {{virtual_machine_id}} {{meta|network|user}}`
|
||||
|
||||
Reference in New Issue
Block a user