summaryrefslogtreecommitdiffstats
path: root/ipaclient/install/automount.py
blob: 23e9cfe1d8cf2d1ce18633899d243e99f41f374e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Copyright (C) 2016  FreeIPA Contributors see COPYING for license
#

"""
Automount installer module
"""

from ipalib.install import service
from ipalib.install.service import enroll_only
from ipapython.install.core import group, knob


@group
class AutomountInstallInterface(service.ServiceInstallInterface):
    """
    Interface of the automount installer

    Knobs defined here will be available in:
    * ipa-client-install
    * ipa-client-automount
    """
    description = "Automount"

    automount_location = knob(
        str, None,
        description="Automount location",
    )
    automount_location = enroll_only(automount_location)