summaryrefslogtreecommitdiff
path: root/deploy_a_system.sh
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-09-17 17:46:38 +0000
committerPatrick Darley <patrick.darley@codethink.co.uk>2015-09-17 17:47:06 +0000
commit4c0dcb41c9cf9a6e21e590f947d8a5bd9bebeafa (patch)
tree67f8248fb9b52e04a567349db8e3b3899d9cb9d1 /deploy_a_system.sh
parent027ee88e793a63d956690fe5f0825d72b65890ad (diff)
downloadbuildslave-scripts-4c0dcb41c9cf9a6e21e590f947d8a5bd9bebeafa.tar.gz
PSuedo coded
Diffstat (limited to 'deploy_a_system.sh')
-rwxr-xr-xdeploy_a_system.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/deploy_a_system.sh b/deploy_a_system.sh
index a371abb..14bebe2 100755
--- a/deploy_a_system.sh
+++ b/deploy_a_system.sh
@@ -22,3 +22,20 @@ sudo modprobe btrfs
cd "$definitions_dir"
sudo "$ybd_dir"/ybd.py clusters/"$cluster_name"
+
+
+# Remove built system artifacts, tar and .unpacked
+# They are bloat and not needed after the deploy As they have
+# the image is made and has been archived. Future systems are
+# to be different as that is the whole point.
+
+# remove .morph clustername
+cluster=$cluster_name
+
+# Search for the dir that has this name in /src/artifacts/^^^
+
+# Use this to remove the dir that contains the artifacts
+
+
+sudo rm -r
+