-
Notifications
You must be signed in to change notification settings - Fork 2
CleanUpSlice
Saverio Proto edited this page Jun 25, 2012
·
2 revisions
To get the list of nodes currently in your slice use this script: source:planet-lab/print_nodes.py
python print_nodes.py <username> <password> <slicename>
The script will create the file ```nodes.txt``` with the list of nodes of the slice
First of all we need to user multiquery, so make sure you have the following configs steps done:
$ export MQ_NODES='nodes.txt'
$ export MQ_SLICE='planetlab_hello' <-- substitute your slice name here
$ echo "StrictHostKeyChecking no" >> ~/.ssh/config
Where ```nodes.txt``` is the file created at the previous step.
./multiquery 'rm -rfv ~/*'