diff --git a/xCAT-server/share/xcat/install/scripts/pre.rh b/xCAT-server/share/xcat/install/scripts/pre.rh index c0fc856b4..a0d8675c6 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.rh +++ b/xCAT-server/share/xcat/install/scripts/pre.rh @@ -191,3 +191,10 @@ echo "part swap --recommended --ondisk $instdisk" >> /tmp/partitioning echo "part / --size 1 --grow --ondisk $instdisk --fstype $FSTYPE" >> /tmp/partitioning #XCA_PARTITION_SCRIPT# + +# The following code is to generate the repository for the installation +cat /proc/cmdline + +export nextserver=`cat /proc/cmdline | grep http | head -n 1 | cut -d / -f 3 | cut -d : -f 1` +#INSTALL_SOURCES_IN_PRE# +