From 4c0dcb41c9cf9a6e21e590f947d8a5bd9bebeafa Mon Sep 17 00:00:00 2001 From: Patrick Darley Date: Thu, 17 Sep 2015 17:46:38 +0000 Subject: PSuedo coded --- deploy_a_system.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'deploy_a_system.sh') 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 + -- cgit v1.2.1