mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
14 lines
339 B
Python
14 lines
339 B
Python
![]() |
from bootstrapvz.base import Task
|
||
|
from bootstrapvz.common import phases
|
||
|
|
||
|
|
||
|
class InstallDHCPCD(Task):
|
||
|
description = 'Replacing isc-dhcp with dhcpcd5'
|
||
|
phase = phases.preparation
|
||
|
|
||
|
@classmethod
|
||
|
def run(cls, info):
|
||
|
info.packages.add('dhcpcd5')
|
||
|
info.exclude_packages.add('isc-dhcp-client')
|
||
|
info.exclude_packages.add('isc-dhcp-common')
|