[lxc-users] mount options for type 'disk'

Linus Lüssing linus.luessing at c0d3.blue
Sun Feb 18 18:26:15 UTC 2018


Hi!

Is there a way to specify mount options for a volume added via a
profile like this?

---
  home:
    path: /home
    source: /dev/mapper/somevolume
    type: disk
---

I'd like to add the 'discard' option since "somevolume" is
a thinly provisioned LVM volume with an ext4 filesystem.

Regards, Linus


More information about the lxc-users mailing list