Changes between Version 31 and Version 32 of HowTo/WriteInstallScript


Ignore:
Timestamp:
06/09/16 13:54:45 (8 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteInstallScript

    v31 v32  
    133133    * fix any errors, upload your script and retest it.
    134134
     135=== 3.1 Debugging tips (InstaGENI only) ===
     136   * 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.
     137   * 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:
     138       {{{ <execute shell="sh" command="sudo su youruser -c 'my-script.sh arg'"/> }}}
     139
    135140= 4. Modify your RSpec =
    136141Now 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.