PhoebusExperimentGEMINI: edit_rspec.sh

File edit_rspec.sh, 262 bytes (added by kissel@cis.udel.edu, 7 years ago)
Line 
1#!/bin/bash
2
3FILE=$1
4
5TEXT_ADD="\
6   <services>\n\
7       <execute command='wget -q -P /tmp http://stout.incntre.iu.edu/~kissel/phoebus/phoebus_install.sh;sudo bash /tmp/phoebus_install.sh' shell='sh'/>\n\
8   </services>"
9
10sed "/\/node\>/ i\ ${TEXT_ADD}" ${FILE}