[packages/vzctl] - up to 4.1.1

brushek brushek at pld-linux.org
Tue Dec 25 23:34:50 CET 2012


commit a20658916609a08133862140cd0d12684739c1ea
Author: Łukasz Chrustek <lukasz at chrustek.net>
Date:   Tue Dec 25 23:33:53 2012 +0100

    - up to 4.1.1
    
    - fix for adding ipv6 address when there wasn't ipv6 in container

 pld-add_ip.sh | 3 +++
 vzctl.spec    | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vzctl.spec b/vzctl.spec
index e8d8da9..0464ed3 100644
--- a/vzctl.spec
+++ b/vzctl.spec
@@ -1,12 +1,12 @@
 Summary:	OpenVZ containers control utility
 Summary(pl.UTF-8):	Narzędzie do zarządzania środowiskiem wirtualnym OpenVZ
 Name:		vzctl
-Version:	4.1
+Version:	4.1.1
 Release:	1
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://download.openvz.org/utils/vzctl/%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5:	6cb0072890fa30864586b6033b640441
+# Source0-md5:	1b22d7213c1dbe02f897b7e0b529edc5
 Source1:	pld.conf
 Source2:	pld-add_ip.sh
 Source3:	pld-del_ip.sh
diff --git a/pld-add_ip.sh b/pld-add_ip.sh
index f7e4924..412a548 100755
--- a/pld-add_ip.sh
+++ b/pld-add_ip.sh
@@ -111,6 +111,9 @@ function add_ip()
 				found=1
 			fi
 		done
+		if echo ${_IP} | grep -q ':' ; then
+			setup6_network
+		fi
 		create_config ${_IP} ${ifnum}
 	done
 	if [ "x${VE_STATE}" = "xrunning" ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vzctl.git/commitdiff/a20658916609a08133862140cd0d12684739c1ea



More information about the pld-cvs-commit mailing list