aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/host.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/host.conf.erb b/templates/host.conf.erb
index 1c690b4..c483d62 100644
--- a/templates/host.conf.erb
+++ b/templates/host.conf.erb
@@ -4,7 +4,7 @@
data.fetch('interfaces').sort.each do |if_name, if_mac|
scope.function_validate_re([if_name, '^\S+$'])
scope.function_validate_string([if_mac])
- scope.function_validate_re([if_mac, '^[a-f0-9:.]+$'])
+ scope.function_validate_re([if_mac, '^[A-Fa-f0-9:.]+$'])
-%>
host <%= host %>-<%= if_name %> {
hardware ethernet <%= if_mac %>;