mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
Vagrantfile: Add customization to remove log file.
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 caused upstream by the base box containing a Vagrantfile with a line that looks something like: vb.customize [ ..., ..., ..., ..., \ File.join(Dir.pwd, "ubuntu-bionic-18.04-cloudimg-console.log") ] The line added here negates this.
This commit is contained in:
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -148,6 +148,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
|
|
||||||
config.vm.provider "virtualbox" do |vb, override|
|
config.vm.provider "virtualbox" do |vb, override|
|
||||||
override.vm.box = "ubuntu/trusty64"
|
override.vm.box = "ubuntu/trusty64"
|
||||||
|
# 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
|
||||||
|
# caused upstream by the base box containing a Vagrantfile with a similar
|
||||||
|
# line to the one below.
|
||||||
|
# see https://github.com/hashicorp/vagrant/issues/9425
|
||||||
|
vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
|
||||||
# It's possible we can get away with just 1.5GB; more testing needed
|
# It's possible we can get away with just 1.5GB; more testing needed
|
||||||
vb.memory = vm_memory
|
vb.memory = vm_memory
|
||||||
vb.cpus = vm_num_cpus
|
vb.cpus = vm_num_cpus
|
||||||
|
|||||||
Reference in New Issue
Block a user