Simplify subclasses for PXERamdiskDeploy

AgentDeploy already inherits from AgentDeployMixin and DeployInterface,
so there's no need to list them here.

Change-Id: Ia76e21330b012bdeb69a3d77b1544575d6d62513
This commit is contained in:
Jim Rollenhagen 2018-08-06 12:00:31 -04:00
parent cf89089696
commit 61bb3a7e79
1 changed files with 1 additions and 2 deletions

View File

@ -728,8 +728,7 @@ class PXEBoot(base.BootInterface):
_parse_driver_info(task.node, mode='rescue')
class PXERamdiskDeploy(agent.AgentDeploy, agent.AgentDeployMixin,
base.DeployInterface):
class PXERamdiskDeploy(agent.AgentDeploy):
def validate(self, task):
if 'ramdisk_boot' not in task.driver.boot.capabilities: