According to Wolfgangs hint in forum I post my yesterdays message here:
--- Redhat.pm.bak 2015-10-06 09:38:29.0 +0200
+++ Redhat.pm 2015-10-14 20:10:11.151244903 +0200
@@ -18,8 +18,8 @@
my $version;
- if ($release =~ m/re
Unsurprisingly debian was the least convenient distribution to
configure.
For Redhat/Centos the routes are more easy to add, but since it's a
separate file which might be used by the user we need to update rather
than replace it. Which is still simple enough.
systemd-networkd wins the medal of conv
---
src/PVE/LXC/Setup/Base.pm | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm
index ba7453d..cbb23a1 100644
--- a/src/PVE/LXC/Setup/Base.pm
+++ b/src/PVE/LXC/Setup/Base.pm
@@ -11,6 +11,7 @@ use File::Path;
use PVE::INotif
---
src/PVE/LXC.pm | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 79028b3..4b9ace5 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1499,7 +1499,8 @@ sub update_ipconfig {
return if !$change_ip && !$change_gw;
---
src/PVE/LXC/Setup/Debian.pm| 74 +-
src/test/test-debian-012/config| 2 +
src/test/test-debian-012/etc/debian_version| 1 +
src/test/test-debian-012/etc/network/interfaces| 2 +
.../test-debian-012/etc/network/inter
---
src/PVE/LXC/Setup/Redhat.pm | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/PVE/LXC/Setup/Redhat.pm b/src/PVE/LXC/Setup/Redhat.pm
index c15673a..095507a 100644
--- a/src/PVE/LXC/Setup/Redhat.pm
+++ b/src/PVE/LXC/Setup/Redhat.pm
@@ -4,6 +4,7 @@ use strict
---
src/PVE/Network.pm | 33 +
1 file changed, 33 insertions(+)
diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm
index 34a280f..024b9b4 100644
--- a/src/PVE/Network.pm
+++ b/src/PVE/Network.pm
@@ -9,6 +9,8 @@ use File::Basename;
use IO::Socket::IP;
use POSIX
With perl's Net::IP being unreasonably petulant it might be useful to
have a wrapper around Net::IP->new that doesn't need the address part
to be zero for a CIDR notation. It's certainly useful for the helper
is_ip_in_cidr().
This patch is part of another series for pve-container to deal with
gate
applied, thanks!
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Bug Linux -bond .
The creation of Linux bond with gui, it never works it should always add : auto
bond0 in /etc/networking/interface.
After it works very well.
Thank's
Moula.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.co
The $new parameter only guards the output of the 'auto' line
which is now being tracked in $done_auto, so it's not
needed anymore.
---
src/PVE/LXC/Setup/Debian.pm | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm
i
---
src/PVE/LXC.pm | 40 ++--
1 file changed, 2 insertions(+), 38 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index af0d5d4..79028b3 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -948,49 +948,13 @@ sub find_lxc_pid {
return $pid;
}
-
---
src/PVE/JSONSchema.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index 817ff4c..de2a0bd 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -248,7 +248,7 @@ register_format('CIDRv4', \&pve_verify_cidrv4);
sub
13 matches
Mail list logo