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
+19
@@ -0,0 +1,19 @@
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
config.vm.synced_folder "../../..", "/mailinabox", id: "mailinabox", automount: false
|
||||
|
||||
config.vm.define "preloaded-ubuntu-bionic64" do |m1|
|
||||
m1.vm.box = "ubuntu/bionic64"
|
||||
m1.vm.provision :shell, :inline => <<-SH
|
||||
cd /mailinabox
|
||||
tests/vagrant/preloaded/prepvm.sh --no-dry-run
|
||||
rc=$?
|
||||
echo "$rc" > "tests/vagrant/preloaded/prepcode.txt"
|
||||
[ $rc -gt 0 ] && exit 1
|
||||
exit 0
|
||||
SH
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user