| 36 | = Install scripts = |
| 37 | While you wait for your sliver to become ready, we will see how we can automate the installation of our experiment with install scripts. |
| 38 | In this experiment we are going to use software routers in order to write our own forwarding scheme. This means that in any experiment we are going to run we want the basic installation of the software router to always be present. The configuration might change from run to run, but the software should always be installed. The software to be installed, and the scripts to be executed at boot time, are defined in the rspecs. Follow these steps to locate your install script and identify the different parts. |
| 39 | i. Download your rspec |
| 40 | {{{ |
| 41 | cd /tmp |
| 42 | wget <rspec_url> |
| 43 | }}} |
| 44 | i. Open your rspec and look for the `install` tag and copy the value of the URL attribute. |
| 45 | i. Download and untar the software |
| 46 | {{{ |
| 47 | cd /tmp |
| 48 | wget <software_url> |
| 49 | tar xvfz <software_name> |
| 50 | }}} |
| 51 | i. Look in your rspec and locate the `execute` tag. Note what script is being executed at boot time. |
| 52 | i. Locate the script and open it. Can you identify the different parts? |