From f180f080f903520166b9445c7a1336e0aa4310b0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Feb 2019 13:53:38 -0500 Subject: [PATCH] fabric updates --- util/DigitalOceanMarketplace/fabfile.py | 2 ++ .../files/etc/update-motd.d/99-bitwarden-welcome | 12 ++++++++++-- .../files/opt/bitwarden/install-bitwarden.sh | 16 ++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/util/DigitalOceanMarketplace/fabfile.py b/util/DigitalOceanMarketplace/fabfile.py index 3a9631857..0e1bd49f7 100644 --- a/util/DigitalOceanMarketplace/fabfile.py +++ b/util/DigitalOceanMarketplace/fabfile.py @@ -14,6 +14,8 @@ def clean_up(): """ Clean up remote machine before taking snapshot. """ + run("apt-get -y update") + run("apt-get -y upgrade") run("rm -rf /tmp/* /var/tmp/*") run("history -c") run("cat /dev/null > /root/.bash_history") diff --git a/util/DigitalOceanMarketplace/files/etc/update-motd.d/99-bitwarden-welcome b/util/DigitalOceanMarketplace/files/etc/update-motd.d/99-bitwarden-welcome index 32e916b31..4edccbc2d 100644 --- a/util/DigitalOceanMarketplace/files/etc/update-motd.d/99-bitwarden-welcome +++ b/util/DigitalOceanMarketplace/files/etc/update-motd.d/99-bitwarden-welcome @@ -9,10 +9,18 @@ cat <