diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-19 11:33:32 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-06-25 20:46:16 +1000 |
commit | 1a9a57d2c57c49b48564e99d293f840b51a19ff0 (patch) | |
tree | 19184286ebbb18595dcf77b5d01be2f097e7d3a2 /base | |
parent | 0852b535992942770e5adbb40ce78eaaf70a912b (diff) | |
download | autocluster-1a9a57d2c57c49b48564e99d293f840b51a19ff0.tar.gz autocluster-1a9a57d2c57c49b48564e99d293f840b51a19ff0.tar.xz autocluster-1a9a57d2c57c49b48564e99d293f840b51a19ff0.zip |
Add shared disk ID as serial number in shared disk XML
Hedge bets by continuing to write the ID to the image file.
While touching this code, add the cluster name to the temporary
filename for the shared disk ID map. Setting $shared_disk_ids needs
to move to shared_disk_setup() so $CLUSTER can be used. Also need to
update this path in mknsd.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base')
-rwxr-xr-x | base/all/root/scripts/mknsd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/all/root/scripts/mknsd.sh b/base/all/root/scripts/mknsd.sh index a446321..01b23f2 100755 --- a/base/all/root/scripts/mknsd.sh +++ b/base/all/root/scripts/mknsd.sh @@ -8,7 +8,7 @@ set -e echo echo "Setting up NSDs" nsdfile=/tmp/nsd.$$ -idfile=$(dirname $0)/shared_disk_ids +idfile=$(dirname $0)/shared_disk_ids.@@CLUSTER@@ if [ -r "$idfile" ] ; then pat=$(tr '\n' '|' <"$idfile" | sed -e 's@|$@@') multipath -dl | |