mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
Adjust formatting
This commit is contained in:
parent
59e78040bf
commit
f321271e1c
20
tests/vagrant/majorupgrade/Vagrantfile
vendored
20
tests/vagrant/majorupgrade/Vagrantfile
vendored
@ -18,8 +18,8 @@ Vagrant.configure("2") do |config|
|
|||||||
|
|
||||||
|
|
||||||
config.vm.define "major-upgrade-oldvm" do |m1|
|
config.vm.define "major-upgrade-oldvm" do |m1|
|
||||||
use_preloaded_box m1, "ubuntu/bionic64", ".."
|
use_preloaded_box m1, "ubuntu/bionic64", ".."
|
||||||
m1.vm.provision :shell, :inline => <<-SH
|
m1.vm.provision :shell, :inline => <<-SH
|
||||||
# setup vanilla system, populated with some data
|
# setup vanilla system, populated with some data
|
||||||
cd /mailinabox
|
cd /mailinabox
|
||||||
export PRIMARY_HOSTNAME=majorupgrade.local
|
export PRIMARY_HOSTNAME=majorupgrade.local
|
||||||
@ -34,11 +34,17 @@ tests/system-setup/vanilla.sh \
|
|||||||
--capture-state=/tmp/state/oldvm \
|
--capture-state=/tmp/state/oldvm \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
SH
|
SH
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "major-upgrade-newvm" do |m2|
|
|
||||||
use_preloaded_box m2, "ubuntu/jammy64", ".."
|
# config.vm.provider "virtualbox" do |v|
|
||||||
m2.vm.provision :shell, :inline => <<-SH
|
# v.memory = 512
|
||||||
|
# end
|
||||||
|
|
||||||
|
|
||||||
|
config.vm.define "major-upgrade-newvm" do |m2|
|
||||||
|
use_preloaded_box m2, "ubuntu/jammy64", ".."
|
||||||
|
m2.vm.provision :shell, :inline => <<-SH
|
||||||
cd /mailinabox
|
cd /mailinabox
|
||||||
export PRIMARY_HOSTNAME=majorupgrade.local
|
export PRIMARY_HOSTNAME=majorupgrade.local
|
||||||
export FEATURE_MUNIN=true
|
export FEATURE_MUNIN=true
|
||||||
@ -50,6 +56,6 @@ tests/system-setup/from-backup.sh \
|
|||||||
--capture-state=/tmp/state/newvm \
|
--capture-state=/tmp/state/newvm \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
SH
|
SH
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user