diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-17 17:46:38 +0000 |
---|---|---|
committer | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-17 17:47:06 +0000 |
commit | 4c0dcb41c9cf9a6e21e590f947d8a5bd9bebeafa (patch) | |
tree | 67f8248fb9b52e04a567349db8e3b3899d9cb9d1 /deploy_a_system.sh | |
parent | 027ee88e793a63d956690fe5f0825d72b65890ad (diff) | |
download | buildslave-scripts-4c0dcb41c9cf9a6e21e590f947d8a5bd9bebeafa.tar.gz |
PSuedo coded
Diffstat (limited to 'deploy_a_system.sh')
-rwxr-xr-x | deploy_a_system.sh | 17 |
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 + |