mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-14 09:16:00 +01:00
Speed up vm creation
This commit is contained in:
1 parent
f6b04b314f
commit
a78e6eb3fa
6 files changed
+170
-9
No files matched your search
Vendored
+6
-1
@@ -7,7 +7,12 @@ Vagrant.configure("2") do |config|
|
||||
# vanilla install
|
||||
|
||||
config.vm.define "vanilla" do |m1|
|
||||
m1.vm.box = "ubuntu/bionic64"
|
||||
if File.file?("../preloaded/preloaded-ubuntu-bionic64.box")
|
||||
m1.vm.box = "preloaded-ubuntu-bionic64"
|
||||
m1.vm.box_url = "file://" + Dir.pwd + "/../preloaded/preloaded-ubuntu-bionic64.box"
|
||||
else
|
||||
m1.vm.box = "ubuntu/bionic64"
|
||||
end
|
||||
m1.vm.network "forwarded_port", guest:443, host:8443, protocol:"tcp"
|
||||
m1.vm.provision :shell, :inline => <<-SH
|
||||
source globals.sh || exit 1
|
||||
|
||||
Reference in new issue
Block a user