bootstrap-vz/bootstrapvz/providers/oracle/tasks/network.py
Tiago Ilieve c22247be81 oracle: remove cloud-init customization
It is working now out-of-the-box with "Ec2" metadata source.
2016-02-06 19:13:55 -02:00

16 lines
389 B
Python

from bootstrapvz.base import Task
from bootstrapvz.common import phases
from . import assets
import os.path
import shutil
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')