#! /bin/bash ############################################################ ############################################################ ## movevbcn.conf ## It moves windowsXP.vdi file from /share/apps/VBtemplate/ (which is physicall located in the frontend's harddisk) ## to /state/partition1/repo/VBanicca/.VirtualBox/HardDisks (which is physicall located locally at a compute node's harddisk). ## Fire this code in local node's directory /root/configrepo by ## sh /share/apps/configrepo/movevbcn.conf ############################################################ ### should check if /state/partition1/repo/VBanicca/.VirtualBox/HardDisks alreayd has a windowsXP.dvi . If yes, skip the following part. #Copy a copy of windowsXP.dvi from /share/apps/VBtemplate/ to the local hardisk of the compute node at /state/partition1/repo/VBanicca/.VirtualBox/HardDisks/ mkdir /state/partition1/VBlocal cp /share/apps/VBtemplate/windowsXP.vdi /state/partition1/VBlocal/. chmod 777 /state/partition1/VBlocal/windowsXP.vdi chown root:users /state/partition1/VBlocal/windowsXP.vdi #### Finished ###### echo -e "\nMessage from the author :\nCOMPLETE!!! \n"