Author: mzugec Date: Wed Jul 9 16:31:38 2008 New Revision: 48935 URL: http://svn.opensuse.org/viewcvs/yast?rev=48935&view=rev Log: configure IPv6 static IP given from Linuxrc (FaTE#302926) Modified: trunk/network/VERSION trunk/network/package/yast2-network.changes trunk/network/src/clients/save_network.ycp Modified: trunk/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=48935&r1=48934&r2=48935&view=diff ============================================================================== --- trunk/network/VERSION (original) +++ trunk/network/VERSION Wed Jul 9 16:31:38 2008 @@ -1 +1 @@ -2.17.6 +2.17.7 Modified: trunk/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=48935&r1=48934&r2=48935&view=diff ============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Wed Jul 9 16:31:38 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jul 9 16:06:44 CEST 2008 - mzugec@suse.de + +- configure IPv6 static IP given from Linuxrc (FaTE#302926) +- 2.17.7 + +------------------------------------------------------------------- Tue Jul 1 17:51:19 CEST 2008 - mzugec@suse.de - support for "/PREFIXLEN" in aliases Modified: trunk/network/src/clients/save_network.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/clients/save_network.ycp?rev=48935&r1=48934&r2=48935&view=diff ============================================================================== --- trunk/network/src/clients/save_network.ycp (original) +++ trunk/network/src/clients/save_network.ycp Wed Jul 9 16:31:38 2008 @@ -77,6 +77,7 @@ /* Read install.inf items */ ReadInstallInfItem(install_inf, "ipaddr", "IP"); + ReadInstallInfItem(install_inf, "ipaddr6", "IP6"); ReadInstallInfItem(install_inf, "netmask", "Netmask"); ReadInstallInfItem(install_inf, "bcast", "Broadcast"); ReadInstallInfItem(install_inf, "remote_ip", "Pointopoint"); @@ -194,9 +195,15 @@ // add broadcast interface #suse49131 network_configuration=sformat("BOOTPROTO='static'\nIPADDR='%1/%2'\nBROADCAST='%3'\n", InstallInf["ipaddr"]:"", Netmask::ToBits(InstallInf["netmask"]:""), InstallInf["bcast"]:""); + if(size(InstallInf["ipaddr6"]:"")>0){ + network_configuration=sformat("%1\n%2", network_configuration, + sformat("LABEL_ipv6='ipv6'\nIPADDR_ipv6='%1'", InstallInf["ipaddr6"]:"") + ); + } } else { + //DHCP for IPv6 is not implemented yet in sysconfig network_configuration="BOOTPROTO='dhcp'\n"; // set DHCP_SET_HOSTNAME=yes #suse30528 y2milestone("set DHCLIENT_SET_HOSTNAME=yes on installed system"); @@ -349,6 +356,11 @@ "mkdir -p '%2%1'; /bin/cp -p %1/dhcpcd-*.cache '%2%1'", "/var/lib/dhcpcd", String::Quote (Installation::destdir))); + // Copy DHCPv6 (DHCP for IPv6) client cache. + WFM::Execute (.local.bash, sformat ( + "/bin/cp -p %1/ '%2%1'", + "/var/lib/dhcpv6", + String::Quote (Installation::destdir))); //Deleting lockfiles and re-triggering udev events for *net is not needed any more //(#292375 c#18) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org