-Auto-enable ipv6 in esxi

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-08-19 13:15:57 +00:00
parent 633b42d4f0
commit 769e08fca4
2 changed files with 12 additions and 0 deletions

View File

@ -2908,6 +2908,10 @@ sub makecustomizedmod {
print $shadow "$_:*:$dayssince1970:0:99999:7:::\n";
}
close($shadow);
if (-e "$::XCATROOT/share/xcat/netboot/esxi/38.xcat-enableipv6") {
mkpath($tempdir."/etc/vmware/init/init.d");
copy( "$::XCATROOT/share/xcat/netboot/esxi/38.xcat-enableipv6",$tempdir."/etc/vmware/init/init.d/38.xcat-enableipv6");
}
if (-e "$::XCATROOT/share/xcat/netboot/esxi/47.xcat-networking") {
mkpath($tempdir."/etc/vmware/init/init.d");
copy( "$::XCATROOT/share/xcat/netboot/esxi/47.xcat-networking",$tempdir."/etc/vmware/init/init.d/47.xcat-networking");

View File

@ -0,0 +1,8 @@
#!/bin/sh
retval=${SUCCESS}
Exec esxcfg-advcfg -S 1 -U IPv6ConfigSet
Exec esxcfg-module -s "ipv6=1" tcpip3