#! /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/VBlocal/ (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/VBlocal/windowsXP.vdi already exist. 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"