training-guides/tools/generatelabs
Pranav Salunke 96a10daffc Updates generatelabs scripts
Updates to ignore unwanted files. If someone exports their labs
scripts while having existing clusters deployed, these changes will
allow auto-ignore unwanted files while creating the compressed files.

Change-Id: I6ecae37b1d97a7c0c12854f5f3240b842da84af7
2015-04-19 14:02:25 +02:00

12 lines
472 B
Bash
Executable File

#!/bin/bash
# Used by tox.ini when checking build and publishing docs to website
# Create tarball of labs scripts for Linux/OS X users
tar --exclude=*.iso --exclude=*.vdi --exclude=*.log --exclude=*.auto -czf publish-docs/trunk/training-guides/labs-scripts.tgz labs
# Generate Windows batch scripts
labs/osbash.sh -w cluster
# Create zip file of labs scripts for Windows users
zip -r publish-docs/trunk/training-guides/labs-scripts.zip labs -x *.iso *.vdi *.log *.auto