mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
15 lines
531 B
Python
15 lines
531 B
Python
from bootstrapvz.base import Task
|
|
from bootstrapvz.common import phases
|
|
from bootstrapvz.common.tasks import packages
|
|
from bootstrapvz.common.tools import log_check_call
|
|
|
|
|
|
class DebconfSetSelections(Task):
|
|
description = 'Set debconf(7) selections from the manifest'
|
|
phase = phases.package_installation
|
|
successors = [packages.InstallPackages]
|
|
|
|
@classmethod
|
|
def run(cls, info):
|
|
log_check_call(['chroot', info.root, 'debconf-set-selections'],
|
|
stdin=info.manifest.plugins['debconf'])
|