Commit ea5c8c5
committed
fix: Improve private interface determination logic in locals.tf
This commit enhances the logic for determining the private interface in the locals.tf file. The update refines the command to first check the network CIDR for the interface and, if not found, fall back to the gateway route. This change improves error handling and ensures a more reliable configuration for network setups, addressing potential issues with interface detection in varying environments. The modifications contribute to the overall robustness of the network setup in response to recent DHCP behavior changes.1 parent f22ca04 commit ea5c8c5
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
| |||
0 commit comments