Allow mac address to be used a variable for provisioning.
This commit is contained in:
parent
e0e6a529ec
commit
438c9eb6fc
|
|
@ -305,7 +305,8 @@ include "root.php";
|
|||
elseif (is_array($val) && !is_uuid($val['uuid'])) { $value = $val; }
|
||||
if (isset($value)) {
|
||||
$value = str_replace('${domain_name}', $domain_name, $value);
|
||||
$value = str_replace('{$domain_name}', $domain_name, $value);
|
||||
$value = str_replace('${mac_address}', $mac, $value);
|
||||
$value = str_replace('${mac}', $mac, $value);
|
||||
$provision[$key] = $value;
|
||||
}
|
||||
unset($value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue