Changes between Version 20 and Version 21 of GIMIv3/Documentation


Ignore:
Timestamp:
07/01/14 14:08:05 (10 years ago)
Author:
dbhat@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv3/Documentation

    v20 v21  
    137137
    138138== Postboot scripts ==
     139
     140=== InstaGENI ===
     141
     142{{{
     143#!/bin/bash
     144
     145read -r slice1 </var/emulab/boot/nickname
     146slicename=$(echo $slice1 | cut -f2 -d.)
     147
     148host1=$(hostname)
     149
     150host=$(echo $host1 | cut -f1 -d.)
     151
     152slice=`ruby -e "print '$slicename'[/[^+]*$/]"`
     153echo $host > /etc/hostname
     154/bin/hostname -F /etc/hostname
     155echo 'amqp://emmy9.casa.umass.edu' > /var/omf/communication_url
     156echo $host-$slice > /var/omf/node_uri
     157restart omf_rc
     158
     159}}}
    139160[Divya]
    140161