diff --git a/cd-bootstrap.sh b/cd-bootstrap.sh index 310546c..366e2f4 100755 --- a/cd-bootstrap.sh +++ b/cd-bootstrap.sh @@ -37,4 +37,8 @@ echo "${SERVER} ssh-${KEY_ALGORITHM} ${KEY_PUBLIC}" \ || exit # packages -apt-get install --yes "${PACKAGES[@]}" +apt-get install --yes "${PACKAGES[@]}" \ +|| exit + +# remove +rm --force --recursive "${ROOT}"