mirror of https://github.com/zulip/zulip.git
Vagrantfile: Update virtualbox image to bionic.
This is a key part of our process to deprecate Ubuntu trusty: migrating the Zulip development environment on macOS and Window to Ubuntu Bionic. As part of this, we need to remove ubuntu-server, because it now depends on update-notifier-common. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
0330a5ed82
commit
dc11f197a1
|
@ -147,7 +147,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provider "virtualbox" do |vb, override|
|
config.vm.provider "virtualbox" do |vb, override|
|
||||||
override.vm.box = "ubuntu/trusty64"
|
override.vm.box = "ubuntu/bionic64"
|
||||||
# An unnecessary log file gets generated when running vagrant up for the
|
# An unnecessary log file gets generated when running vagrant up for the
|
||||||
# first time with the Ubuntu Bionic box. This looks like it is being
|
# first time with the Ubuntu Bionic box. This looks like it is being
|
||||||
# caused upstream by the base box containing a Vagrantfile with a similar
|
# caused upstream by the base box containing a Vagrantfile with a similar
|
||||||
|
@ -185,7 +185,7 @@ set -o pipefail
|
||||||
# Set the MOTD on the system to have Zulip instructions
|
# Set the MOTD on the system to have Zulip instructions
|
||||||
sudo ln -nsf /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 ubuntu-server
|
||||||
sudo dpkg-divert --add --rename /etc/default/motd-news
|
sudo dpkg-divert --add --rename /etc/default/motd-news
|
||||||
sudo sh -c 'echo ENABLED=0 > /etc/default/motd-news'
|
sudo sh -c 'echo ENABLED=0 > /etc/default/motd-news'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue