[node-patches] Change in ovirt-node[master]: ovirt-init-functions: Grab 06 or 07 bytes for BOOTIF karg

fabiand at redhat.com fabiand at redhat.com
Thu Mar 19 17:18:26 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: ovirt-init-functions: Grab 06 or 07 bytes for BOOTIF karg
......................................................................


ovirt-init-functions: Grab 06 or 07 bytes for BOOTIF karg

BOOTIF kernel argument takes the network interface as parameter
or the 06 bytes of mac address using dashs between the bytes.
Currently, the ovirt-init-functions.sh expects 07 bytes instead of 06 bytes of mac
address because PXE IPAPPEND always appends "01-" to the front of the MAC.
However, if user provides the 06 bytes of MAC address manually to the GRUB to
append to the boot the autoinstall doesn't work.
This patch adds the "or" statement for validate 06 or 07 bytes during the
ovirt-node boot.

Change-Id: I8bfcc8ddabc74ee67d1a175fd4824ed9173c0215
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Fabian Deutsch: Looks good to me, approved
  Douglas Schilling Landgraf: Verified



-- 
To view, visit https://gerrit.ovirt.org/38454
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bfcc8ddabc74ee67d1a175fd4824ed9173c0215
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list