Changes between Version 32 and Version 33 of HowTo/WriteInstallScript


Ignore:
Timestamp:
06/09/16 13:58:24 (5 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteInstallScript

    v32 v33  
    133133    * fix any errors, upload your script and retest it.
    134134
    135 === 3.1 Debugging tips (InstaGENI only) ===
     135= 4. Modify your RSpec =
     136Now that you have a script that you believe works it is time to add the script to your request RSpec so it is executed at the creation time of your slivers (resources).
     137
     138= 5. Tips =
     139=== For InstaGENI aggregates ===
    136140   * A log of the execution of your script is written to {{{/var/emulab/logs/runlog}}}.  It often has information that can help you determine why your script failed.
    137141   * Execute scrips are run by an account called "geniuser".  This user may not have access to your home directory.  You can have the script run as you by setting the execute element in the Spec to:
    138142       {{{ <execute shell="sh" command="sudo su youruser -c 'my-script.sh arg'"/> }}}
    139 
    140 = 4. Modify your RSpec =
    141 Now that you have a script that you believe works it is time to add the script so that it is executed at the creation time of your slice.
    142 
    143 = Useful tips =