typo
[nodeimage.git] / plc.d / packages
index 5afe7bf..f85e090 100755 (executable)
@@ -45,7 +45,7 @@ case "$1" in
 
 
         ### copy vserver-PLDISTRO* and vserver-systemslices-PLDISTRO*
-        ### pacakges to each repository to be able to create different
+        ### packages to each repository to be able to create different
         ### flavours of vservers on nodes
         for repository1 in $repositories; do
             DISTRO=${PLC_FLAVOUR_SLICE_PLDISTRO}
@@ -55,8 +55,8 @@ case "$1" in
                 if [[ $(basename $repository1) == ${DISTRO}* ]]  \
                     && [[ $(basename $repository2) == ${DISTRO}* ]] \
                     && [[ $repository1 != $repository2 ]] ; then
-                        cp -a $repository1/${VSERVER_PKG}* $repository2
-                        cp -a $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
+                        ln -s $repository1/${VSERVER_PKG}* $repository2
+                        ln -s $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
                 fi
             done
         done