2016-11-09 05:44:22 -06:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
|
|
|
#
|
|
|
|
|
|
|
|
"""
|
|
|
|
Automount installer module
|
|
|
|
"""
|
|
|
|
|
|
|
|
from ipalib.install import service
|
|
|
|
from ipalib.install.service import enroll_only
|
2017-03-08 02:03:13 -06:00
|
|
|
from ipapython.install.core import group, knob
|
2016-11-09 05:44:22 -06:00
|
|
|
|
|
|
|
|
2017-03-08 02:03:13 -06:00
|
|
|
@group
|
2016-11-09 05:44:22 -06:00
|
|
|
class AutomountInstallInterface(service.ServiceInstallInterface):
|
|
|
|
"""
|
|
|
|
Interface of the automount installer
|
|
|
|
|
|
|
|
Knobs defined here will be available in:
|
|
|
|
* ipa-client-install
|
|
|
|
* ipa-client-automount
|
|
|
|
"""
|
2017-03-08 02:03:13 -06:00
|
|
|
description = "Automount"
|
2016-11-09 05:44:22 -06:00
|
|
|
|
|
|
|
automount_location = knob(
|
2017-03-08 02:03:13 -06:00
|
|
|
str, None,
|
2016-11-09 05:44:22 -06:00
|
|
|
description="Automount location",
|
|
|
|
)
|
|
|
|
automount_location = enroll_only(automount_location)
|