summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PVE/Network/SDN/Zones.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PVE/Network/SDN/Zones.pm b/PVE/Network/SDN/Zones.pm
index 9c7f83d..e1a7081 100644
--- a/PVE/Network/SDN/Zones.pm
+++ b/PVE/Network/SDN/Zones.pm
@@ -122,7 +122,7 @@ sub generate_etc_network_config {
}
my $raw_network_config = "";
- foreach my $iface (keys %$config) {
+ foreach my $iface (sort keys %$config) {
$raw_network_config .= "\n";
$raw_network_config .= "auto $iface\n";
$raw_network_config .= "iface $iface\n";