X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fpackages;h=f85e090a2f0b574c8ee74ec4b25afade16f640a3;hb=9399aa6294975101b0e8dfe7ccff2ac0ca11994c;hp=5afe7bfe687ec4678c2a73567fe06c261e9487bd;hpb=4188312716f940a3ed1db294dd28604734f61d98;p=nodeimage.git diff --git a/plc.d/packages b/plc.d/packages index 5afe7bf..f85e090 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -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