[PVE-User] PATCH: Disabled vmbr0 configurations
Corey Quinn
corey at sequestered.net
Wed Apr 20 21:27:55 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Not sure if there's a better list for this, but we've had to patch Cluster.pm in order to handle the specifics of our environment, where we want to make very sure not to stand up VMs on the same network as the host nodes. Without this patch, creating / moving nodes within clusters throws errors if vmbr0 doesn't exist.
- -- Corey / KB1JWQ
- --- Cluster.pm~ 2011-04-20 12:20:45.000000000 -0700
+++ Cluster.pm 2011-04-20 12:20:45.000000000 -0700
@@ -179,7 +179,7 @@
my $hostname = PVE::Config::read_file ("hostname");
my $ccfg = PVE::Config::read_file ($filename);
- - my $localip = $ifaces->{vmbr0}->{address} || $ifaces->{eth0}->{address};
+ my $localip = $ifaces->{vmbr0}->{address} || $ifaces->{eth0}->{address} || $ifaces->{bond0}->{address};
my $cinfo;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
iQEcBAEBAgAGBQJNrzO7AAoJEPmSS8816iBe8lwH/jOyJVSOa8oBUMkEA3pFuWpB
1efy5MYEznyX1bB6OK0JCXA/H1ly7Kv+UwbVbxMx0Jmv3P5gOAjiWhj98aM1ExzS
DI09SDsjPr2n78qYPZJYc9fwFAVICVTAKz+cEInmHAdY9NI/2ExznqyUXwItNpRZ
5YB+6PIQJLiGUhyee5qheHQKIc8YukHBdY32p50bkEK5e1OZjNmGSnK3cpjhArej
p8sjxgJ/en8tITiF1/2W8JjKgusBZJ34JbhqHs7TCTdF0kApfhzL/JTp1Em0cldm
0n3IRdq8rb8+p+vpVYergC4dR/L5wPAUVw/NqgOGi+F/dWC3EQG7HHf1KKmqozY=
=06sW
-----END PGP SIGNATURE-----
More information about the pve-user
mailing list