service node pool supports for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0eb9db534b
commit
427d482261
@ -197,6 +197,7 @@ sub subvars {
|
||||
<ask_on_error config:type=\"boolean\">false</ask_on_error> <!-- available since openSUSE 11.0 -->
|
||||
<name>SuSE-Linux-pkg$c</name> <!-- available since openSUSE 11.1/SLES11 (bnc#433981) -->
|
||||
</listentry>";
|
||||
$source_in_pre .="<listentry><media_url>http://'\$nextserver'$pkgdir</media_url><product>SuSE-Linux-pkg$c</product><product_dir>/</product_dir><ask_on_error config:type=\"boolean\">false</ask_on_error><name>SuSE-Linux-pkg$c</name></listentry>";
|
||||
}
|
||||
$c++;
|
||||
}
|
||||
|
@ -170,6 +170,10 @@ if [ -r "/tmp/partitionfile" ]; then
|
||||
sed -e '/<drive>/{N;N;s!.*!'$con'!}' /tmp/profile/autoinst.xml > /tmp/profile/modified1.xml
|
||||
sed -e 's!xcattempspace! !g' /tmp/profile/modified1.xml > /tmp/profile/modified.xml
|
||||
fi
|
||||
|
||||
export nextserver=`cat /proc/cmdline | grep http | head -n 1 | cut -d / -f 3 | cut -d : -f 1`
|
||||
cp /tmp/profile/modified.xml /tmp/profile/modified1.xml
|
||||
sed -e 's!<software>!<add-on><add_on_products config:type="list">#INSTALL_SOURCES_IN_PRE#</add_on_products></add-on><software>!' /tmp/profile/modified1.xml > /tmp/profile/modified.xml
|
||||
]]>
|
||||
|
||||
</source>
|
||||
|
@ -35,11 +35,6 @@
|
||||
</signature-handling>
|
||||
|
||||
</general>
|
||||
<add-on>
|
||||
<add_on_products config:type="list">
|
||||
#INSTALL_SOURCES#
|
||||
</add_on_products>
|
||||
</add-on>
|
||||
<partitioning config:type="list">
|
||||
<!-- XCAT-PARTITION-START -->
|
||||
<drive>
|
||||
|
@ -34,12 +34,6 @@
|
||||
<accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
|
||||
</signature-handling>
|
||||
</general>
|
||||
<add-on>
|
||||
<add_on_products config:type="list">
|
||||
#INSTALL_SOURCES#
|
||||
</add_on_products>
|
||||
</add-on>
|
||||
|
||||
<partitioning config:type="list">
|
||||
<!-- XCAT-PARTITION-START -->
|
||||
<drive>
|
||||
|
@ -35,11 +35,6 @@
|
||||
</signature-handling>
|
||||
|
||||
</general>
|
||||
<add-on>
|
||||
<add_on_products config:type="list">
|
||||
#INSTALL_SOURCES#
|
||||
</add_on_products>
|
||||
</add-on>
|
||||
<partitioning config:type="list">
|
||||
<!-- XCAT-PARTITION-START -->
|
||||
<drive>
|
||||
|
Loading…
Reference in New Issue
Block a user