Commit Graph

12 Commits

Author SHA1 Message Date
Dominic Jäger
91a47a766f ui: eslint: State equalities more precisely
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-18 15:22:05 +02:00
Thomas Lamprecht
53e3ea8488 ui: eslint: enforce "no-extra-parens" rule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:42:36 +01:00
Thomas Lamprecht
f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Dominik Csapak
d8cb744d2f fix #2810: reset state of mounts array in initComponent
so that each new instance has an empty mounts list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-24 09:45:47 +02:00
Thomas Lamprecht
3bbce3b8cd drop jslint lines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Thomas Lamprecht
acddfb9bd9 ui CT Features: add checkbox for new "allow mknod device creation in CT"
note that it's experimental..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-31 20:37:46 +01:00
Thomas Lamprecht
68c86905f9 ui LxcFeaturesEdit: refactor+cleanup and make slightly wider
Avoid the initComponent, just use autoLoad.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-31 20:35:40 +01:00
Thomas Lamprecht
60c81a34cc ui: fixup jslint warnings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-07 14:03:06 +01:00
Wolfgang Bumiller
7c48f7f717 ui: lxc/features: add fuse
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-06 15:42:28 +01:00
Wolfgang Bumiller
7bf152bf22 ui: lxc/features: disable nfs and cifs for unprivileged
While we can allow them via the apparmor profile, they still
won't be usable as the kernel doesn't have FS_USERNS_MOUNT
set on those.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-06 15:42:13 +01:00
Thomas Lamprecht
237245957f lxc/Features: not that keyctl is unnecessary for privileged
So that users are (hopefully) less confused why this is disabled for
privileged CTs. If we get more feature settings which only make
sense for unprivileged or privileged but not both we could split
this into sections which respective headings, but for one only I
didn't wanted to do this - so just add a boxLabel conditionally.

Cc: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 09:25:00 +01:00
Dominik Csapak
a88fcb7d13 gui: expose lxc features
but constrain editing to root@pam
give a checkbox (for now) for nfs and cifs, but keep all that are manually set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-05 10:37:57 +01:00