Changes between Version 66 and Version 67 of VboxApps
- Timestamp:
- Mar 26, 2014, 8:30:34 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VboxApps
v66 v67 181 181 182 182 * Launch BOINC with --exit_before_start 183 * When BOINC exits, launch the VboxWrapper with the register_only183 * When BOINC exits, launch vboxwrapper with the --register_only option. 184 184 * Set the VBOX_USER_HOME environment variable to the vbox directory 185 185 under the slot directory. … … 269 269 You can use the a single VM image for many applications. 270 270 271 '''Attention:''' If your '''boinc_app''' is a bash or perl script you may get problems when the VM is restored from a snapshot. To circumvent this you have to change your startup script to copy the contents of the shared/ directory to another directory 'inside' the VM and execute it there. For example: 271 '''Attention:''' If your '''boinc_app''' is a bash or perl script you may get problems when the VM is restored from a snapshot. 272 To circumvent this you have to change your startup script to copy the contents of the shared/ directory to another directory 'inside' the VM and execute it there. 273 For example: 272 274 {{{ 273 275 echo -- Launching boinc_app … … 282 284 else 283 285 }}} 284 This way you can still reuse the VM for other applications but have to make sure that your '''boinc_app''' control script is copying the output files of the application to ´/root/shared/´ before exiting. This may take some time, so you should do something like: 286 This way you can still reuse the VM for other applications but have to make sure 287 that your '''boinc_app''' control script is copying the output files of the application to ´/root/shared/´ before exiting. 288 This may take some time, so you should do something like: 285 289 {{{ 286 290 cp outfile1.zip /root/shared/out1.zip.tmp