summaryrefslogtreecommitdiff
path: root/reconfigure/configs/fstab.py
blob: 69f21fe08382c17ff94656d0b85c20dc10ac3307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from reconfigure.configs.base import Reconfig
from reconfigure.parsers import SSVParser
from reconfigure.builders import BoundBuilder
from reconfigure.items.fstab import FSTabData


class FSTabConfig (Reconfig):
    """
    ``/etc/fstab``
    """
    def __init__(self, **kwargs):
        k = {
            'parser': SSVParser(),
            'builder': BoundBuilder(FSTabData),
        }
        k.update(kwargs)
        Reconfig.__init__(self, **k)