Changes between Version 72 and Version 73 of VboxApps


Ignore:
Timestamp:
Jun 20, 2014, 6:31:08 PM (10 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VboxApps

    v72 v73  
    125125   [ <pf_host_port>N</pf_host_port> ]
    126126   [ <copy_to_shared>file</copy_to_shared> ]
     127   [ <trickle_trigger_file>file</trickle_trigger_file> ]
    127128   [ <minimum_checkpoint_interval>N</minimum_checkpoint_interval> ]
    128129</vbox_job>
     
    158159  For example, you can use to copy '''init_data.xml''' into the VM.
    159160  This directive can be used more than once.
     161 '''trickle_trigger_file''':: provides a mechanism for the VM to send trickle-up messages.
     162   If a file of the given name appears in the shared directory,
     163   vboxwrapper sends a [TrickleApi trickle-up message] whose variety is the filename
     164   and whose contents is the contents of the file, then deletes the file.
    160165 '''minimum_checkpoint_interval''':: minimum number of seconds before a checkpoint/snaposhot can be created.
    161166  Defaults to 10 minutes. (v26086+)
     
    199204
    200205To debug what is going on within the guest VM you can use '''vboxmonitor''' which writes whatever
    201 is received in stdin to the VM guest log (VBox.log).  This in turn is read and rewritten to stderr.txt
    202 in the slot directory by '''vboxwrapper'''.
    203 
    204 To use you must either use the premade vboxmonitor or build your own.  Once on the guest VM you must
    205 execute setuid on it so that it runs with root permissions.
     206is received in stdin to the VM guest log (VBox.log).
     207This in turn is read and rewritten to stderr.txt in the slot directory by '''vboxwrapper'''.
     208
     209To use you must either use the premade vboxmonitor or build your own.
     210Once on the guest VM you must execute setuid on it so that it runs with root permissions.
    206211
    207212Usage:
     
    353358
    354359'''Attention:''' If your '''boinc_app''' is a bash or perl script you may get problems when the VM is restored from a snapshot.
    355 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.
     360To circumvent this you have to change your startup script to copy the contents of the shared/ directory
     361to another directory 'inside' the VM and execute it there.
    356362For example:
    357363{{{
     
    457463==== Cleaning the Debian VM ====
    458464
    459 First step is to remove non-critical packages that are essential ([https://wiki.debian.org/ReduceDebian source]). For Debian Squeeze 7.1 that are:
     465First step is to remove non-critical packages that are essential ([https://wiki.debian.org/ReduceDebian source]).
     466For Debian Squeeze 7.1 that are:
    460467{{{
    461468acpi acpid busybox eject iamerican ibritish info ispell laptop-detect logrotate manpages net-tools os-prober tasksel traceroute usbutils wamerican
     
    463470Use aptitude to also remove `linux-headers-*` packages but don't remove `dkms` or `virtualbox-guest-dkms`! Run `apt-get autoremove` after this to get rid of now unused packages. `apt-get autoclean` and `apt-get clean` should remove downloaded archives to free up space.
    464471
    465 In order to realy purge all files from previously removed packages this command is helpfull as it purges all configuration files from uninstalled packages:
     472In order to really purge all files from previously removed packages this command is helpful
     473as it purges all configuration files from uninstalled packages:
    466474{{{
    467475dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`
     
    483491==== Updating Inittab ====
    484492
    485 To configure Linux for automatic login you'll need to install
    486 a different terminal handler.
     493To configure Linux for automatic login you'll need to install a different terminal handler.
    487494mingetty works well for our purposes.
    488495
     
    523530vboxmanage modifyhd FILENAME.vdi --compact
    524531}}}
     532