Vagrantfile: Restore idempotency to vagrant provision.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-05-28 19:02:54 -07:00 committed by Tim Abbott
parent 03cfe10da7
commit 1a68ef2951
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -183,7 +183,7 @@ set -o pipefail
# development environment not using Vagrant. # development environment not using Vagrant.
# Set the MOTD on the system to have Zulip instructions # Set the MOTD on the system to have Zulip instructions
sudo ln -s /srv/zulip/tools/setup/dev-motd /etc/update-motd.d/99-zulip-dev sudo ln -nsf /srv/zulip/tools/setup/dev-motd /etc/update-motd.d/99-zulip-dev
sudo rm -f /etc/update-motd.d/10-help-text sudo rm -f /etc/update-motd.d/10-help-text
sudo dpkg --purge landscape-client landscape-common ubuntu-release-upgrader-core update-manager-core update-notifier-common sudo dpkg --purge landscape-client landscape-common ubuntu-release-upgrader-core update-manager-core update-notifier-common
sudo dpkg-divert --add --rename /etc/default/motd-news sudo dpkg-divert --add --rename /etc/default/motd-news