cli: rook tool object connection information output to environment variables

This commit is contained in:
Jared Watts committed 2016-12-07 17:18:29 -08:00
1 parent cfc7327014
commit 2aebf70f67
4 files changed
+66 -30

No files matched your search

+2 -1
View File
@@ -15,6 +15,7 @@
# limitations under the License.
sudo rm -fr /var/lib/rook
sudo mkdir /var/lib/rook;sudo chown -R $USER:$USER /var/lib/rook
sudo rm -fr /var/log/rook
# clean the etcd config
@@ -30,6 +31,6 @@ ps aux | grep rookd | grep -E -v 'grep|clean-rookd' | awk '{print $2}' | xargs k
# clear the data partitions
for DEV in sdb sdc sdd; do
sudo sgdisk --zap-all /dev/$DEV
sudo sgdisk --zap-all /dev/$DEV >/dev/null 2>&1
done