Hello,
i've got problem howto change mac address.
i tried to write custom template
/etc/e-smith/templates-custom/etc/sysconfig/network-scripts/ifcfg-ethX/90otherparams
2 questions
how to expand this template?

becouse it the name there is ifcfg-ethX
Why it doesnt'work??

i tried post-upgrade, reconfigure in admin panel and many many more.
My configuration is:
eth1 static IP
eth0 192.168.10.x/24 no DHCP to network eth0
{
use esmith::util;
if ($ifup_this_device eq "no")
{
# Need syntactically valid IP address to avoid complaints
# from init.d/network script
return "IPADDR=1.1.1.1";
}
if ($is_external)
{
# We are now running a supervised dhcpcd - setting the BOOTPROTO to "none"
# allows the supervised dhcpcd to do the work without fighting with ifup
return "BOOTPROTO=none" if ($ExternalDHCP eq "on");
my ($network, $broadcast) = esmith::util::computeNetworkAndBroadcast ($ExternalIP, $ExternalNetmask);
return "BOOTPROTO=none\n" .
"IPADDR=$ExternalIP\n" .
"NETMASK=$ExternalNetmask\n" .
"NETWORK=$network\n" .
"BROADCAST=$broadcast"\n;
"MACADDR=01:01:01:A0:A0:A0";
}
return "" unless ($is_internal);
my ($network, $broadcast) = esmith::util::computeNetworkAndBroadcast ($LocalIP, $LocalNetmask);
return "BOOTPROTO=none\n" .
"IPADDR=$LocalIP\n" .
"NETMASK=$LocalNetmask\n" .
"NETWORK=$network\n" .
"BROADCAST=$broadcast";
}
regards
Maciej