diff --git a/content/post/3-terraform-create-vm-proxmox.fr.md b/content/post/3-terraform-create-vm-proxmox.fr.md index 4c9b274..97b8f2c 100644 --- a/content/post/3-terraform-create-vm-proxmox.fr.md +++ b/content/post/3-terraform-create-vm-proxmox.fr.md @@ -102,6 +102,43 @@ pveum role add TerraformUser -privs "\ SDN.Use" ``` +⚠️ La liste des privilèges disponibles a été modifiée dans PVE 9.0, utilisez cette commande: +```bash +pveum role add TerraformUser -privs "\ + Datastore.Allocate \ + Datastore.AllocateSpace \ + Datastore.Audit \ + Pool.Allocate \ + Pool.Audit \ + Sys.Audit \ + Sys.Console \ + Sys.Modify \ + Sys.Syslog \ + 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.Migrate \ + VM.GuestAgent.Audit \ + VM.GuestAgent.FileRead \ + VM.GuestAgent.FileWrite \ + VM.GuestAgent.FileSystemMgmt \ + VM.GuestAgent.Unrestricted \ + VM.PowerMgmt \ + Mapping.Audit \ + Mapping.Use \ + SDN.Audit \ + SDN.Use" +``` + 2. **Créer l'Utilisateur `terraformer`** ```bash pveum user add terraformer@pve --password diff --git a/content/post/3-terraform-create-vm-proxmox.md b/content/post/3-terraform-create-vm-proxmox.md index 30c66a0..5984244 100644 --- a/content/post/3-terraform-create-vm-proxmox.md +++ b/content/post/3-terraform-create-vm-proxmox.md @@ -102,6 +102,43 @@ pveum role add TerraformUser -privs "\ SDN.Use" ``` +⚠️ The list of available privileges has been changed in PVE 9.0, use this command: +```bash +pveum role add TerraformUser -privs "\ + Datastore.Allocate \ + Datastore.AllocateSpace \ + Datastore.Audit \ + Pool.Allocate \ + Pool.Audit \ + Sys.Audit \ + Sys.Console \ + Sys.Modify \ + Sys.Syslog \ + 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.Migrate \ + VM.GuestAgent.Audit \ + VM.GuestAgent.FileRead \ + VM.GuestAgent.FileWrite \ + VM.GuestAgent.FileSystemMgmt \ + VM.GuestAgent.Unrestricted \ + VM.PowerMgmt \ + Mapping.Audit \ + Mapping.Use \ + SDN.Audit \ + SDN.Use" +``` + 2. **Create the User `terraformer`** ```bash pveum user add terraformer@pve --password