Add an command to activate FCoE attached SAN's from kickstart --- kickstart.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/kickstart.py b/kickstart.py index 474ecec..64eed2a 100644 --- a/kickstart.py +++ b/kickstart.py @@ -259,6 +259,15 @@ class ClearPart(commands.clearpart.FC3_ClearPart): return retval +class Fcoe(commands.fcoe.F12_Fcoe): + def parse(self, args): + retval = commands.fcoe.F12_Fcoe.parse(self, args) + + for fc in self.fcoe: + self.handler.id.fcoe.addSan(nic=self.nic) + + return retval + class Firewall(commands.firewall.F10_Firewall): def parse(self, args): retval = commands.firewall.F10_Firewall.parse(self, args) @@ -984,6 +993,7 @@ commandMap = { "deviceprobe": commands.deviceprobe.FC3_DeviceProbe, "dmraid": DmRaid, "driverdisk": commands.driverdisk.FC3_DriverDisk, + "fcoe": Fcoe, "firewall": Firewall, "firstboot": Firstboot, "graphical": commands.displaymode.FC3_DisplayMode, -- 1.6.2.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list