Skip to content

Instantly share code, notes, and snippets.

@memoryleak
Last active April 5, 2023 15:13
Show Gist options
  • Save memoryleak/55e99d61141b194617de08170af504e9 to your computer and use it in GitHub Desktop.
Save memoryleak/55e99d61141b194617de08170af504e9 to your computer and use it in GitHub Desktop.
Proxmox Create Terraform and Packer Role
pveum role add DevOps -privs "Datastore.AllocateSpace,Datastore.Audit,Pool.Allocate,Sys.Audit,VM.Allocate,VM.Audit,VM.Clone,VM.Config.CDROM,VM.Config.Cloudinit,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Monitor,VM.PowerMgmt,Sys.Console,Sys.Modify,VM.Migrate"
pveum user add terraform@pve --password <password>
pveum user add packer@pve --password <password>
pveum aclmod / -user terraform@pve -role DevOps
pveum aclmod / -user packer@pve -role DevOps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment