Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (14 sloc) 0.549 kb
#!/bin/bash
# You can put commands that 'reset' the VM for contextualization
# here and then call this before launch.sh in your rc.local (like
# the sample clusters do).
cp /etc/hosts.clean /etc/hosts
cp /etc/exports.clean /etc/exports
cat /dev/null > /etc/hosts.equiv
# wipe the torque nodes file, ipandhost script will fill it with all
# compute nodes
cat /dev/null > /var/spool/torque/server_priv/nodes
rm -f /root/this_node_is_torque_master
cat /dev/null > /opt/nimbus/ctxlog.txt
rm -rf /opt/nimbus/ctx/tmp/
mkdir /opt/nimbus/ctx/tmp/
Jump to Line
Something went wrong with that request. Please try again.