mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
12 lines
300 B
Python
12 lines
300 B
Python
from bootstrapvz.base import Task
|
|
from .. import phases
|
|
|
|
|
|
class EnableShadowConfig(Task):
|
|
description = 'Enabling shadowconfig'
|
|
phase = phases.system_modification
|
|
|
|
@classmethod
|
|
def run(cls, info):
|
|
from ..tools import log_check_call
|
|
log_check_call(['chroot', info.root, 'shadowconfig', 'on'])
|