From 7fd329602e8aa40cd99a8d6ddacb1534b34d53f8 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 19 Aug 2010 13:18:23 +0000 Subject: [PATCH] -Only enable ipv6 in esxi 4.1.0 for now git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/esxi/38.xcat-enableipv6 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/esxi/38.xcat-enableipv6 b/xCAT-server/share/xcat/netboot/esxi/38.xcat-enableipv6 index 49d359bba..86d816ffb 100644 --- a/xCAT-server/share/xcat/netboot/esxi/38.xcat-enableipv6 +++ b/xCAT-server/share/xcat/netboot/esxi/38.xcat-enableipv6 @@ -1,8 +1,8 @@ #!/bin/sh - retval=${SUCCESS} - - -Exec esxcfg-advcfg -S 1 -U IPv6ConfigSet -Exec esxcfg-module -s "ipv6=1" tcpip3 +if [ `uname -r` == '4.1.0' ]; then + Exec esxcfg-advcfg -S 1 -U IPv6ConfigSet + Exec esxcfg-module -s "ipv6=1" tcpip3 +fi +return $retval