From 9b618eb08b00cf6a84b157c462025b22c951a4b2 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 12 Apr 2018 11:55:07 +0200 Subject: Rename macaddr to uboot_macaddr For clarify the use of macaddr, rename it to uboot_macaddr. --- lavalab-gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lavalab-gen.py') diff --git a/lavalab-gen.py b/lavalab-gen.py index d01ccb1..08e2649 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -119,9 +119,9 @@ def main(): device_line += template_device_connection_command.substitute(connection_command=connection_command) if "uboot_ipaddr" in b: device_line += "{%% set uboot_ipaddr_cmd = 'setenv ipaddr %s' %%}\n" % b["uboot_ipaddr"] - if "macaddr" in b: + if "uboot_macaddr" in b: device_line += '{% set uboot_set_mac = true %}' - device_line += "{%% set uboot_mac_addr = '%s' %%}" % b["macaddr"] + device_line += "{%% set uboot_mac_addr = '%s' %%}\n" % b["uboot_macaddr"] if "fastboot_serial_number" in b: fserial = b["fastboot_serial_number"] device_line += "{%% set fastboot_serial_number = '%s' %%}" % fserial -- cgit 1.2.3-korg