Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add mountpoint property to container resource #87

Open
benosman opened this issue Mar 30, 2021 · 0 comments
Open

[FEATURE] Add mountpoint property to container resource #87

benosman opened this issue Mar 30, 2021 · 0 comments

Comments

@benosman
Copy link

benosman commented Mar 30, 2021

Is your feature request related to a problem? Please describe.
The proxmox_virtual_environment_container resource currently has no ability to manage mountpoints. I would like to see this feature inside this provider.

Currently there are three types of mount points: storage backed mount points, bind mounts, and device mounts.

Describe the solution you'd like
Each container can have multiple mountpoints which can have the following fields:

  • slot_id (internal) - unique identifier of slot
  • mp (required) - The path to the mount point as seen from inside the container.
  • size (optional) - Size of the underlying volume.
  • volume (required) - A string containing the volume, directory, or device to be mounted into the container
  • acl (optional)- A boolean for enabling ACL support. Default is false.
  • backup (optional)- A boolean for including the mount point in backups. Default is false.
  • quota (optional)- A boolean for enabling user quotas inside the container for this mount point. Default is false.
  • replicate (optional)- A boolean for including this volume in a storage replica job. Default is false.
  • shared (optional) - A boolean for marking the volume as available on all nodes. Default is false.

Describe alternatives you've considered
The alternatives are simply to manage the mountpoint in the Proxmox GUI (limited functionality), or via the configuration files.

Additional context
https://pve.proxmox.com/wiki/Linux_Container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant