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:
parent
cf89089696
commit
61bb3a7e79
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue