We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0772e commit 4cc2d64Copy full SHA for 4cc2d64
1 file changed
samples/scenarios/setup.sh
@@ -0,0 +1,16 @@
1
+#!/bin/bash
2
+
3
+# Simple script to setup localrc on test node.
4
+# Execute this script from the root directory. For example:
5
+#
6
+# $ samples/scenarios/setup.sh
7
8
+# Assumes your hostname has been set to one of gto, mustang, or charger.
9
10
+# Modify the SCENARIO variable below to use a different scenario.
11
12
+HOSTNAME=`hostname`
13
+SCENARIO=multinode-ovs
14
+INFO_FILE=samples/scenarios/$SCENARIO/$HOSTNAME-info
15
+echo $INFO_FILE
16
+grep localrc $INFO_FILE | awk -F"|" '{ if (length($2)) { print $2; } }' > localrc
0 commit comments