Skip to content

Commit

Permalink
Merge pull request #39 from remerge/fixup/udev-mac-lowercase
Browse files Browse the repository at this point in the history
force udev macs to lower case, udev is case sensitive
  • Loading branch information
hollow committed Apr 19, 2024
2 parents a544974 + 6147b75 commit 026262f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaseweb/server/installation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dnf install -y epel-release
dnf install -y systemd-networkd
cat > /etc/udev/rules.d/10-shared.rules <<EOR
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="${var.internal_mac}", ATTR{addr_assign_type}=="0", NAME="shared"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="${lower(var.internal_mac)}", ATTR{addr_assign_type}=="0", NAME="shared"
EOR
mkdir -p /etc/systemd/network
Expand Down

0 comments on commit 026262f

Please sign in to comment.