First stage of conversion to Ubuntu 18.04 and Ceph Octopus
This commit is contained in:
Vendored
+5
-4
@@ -6,15 +6,13 @@ Vagrant.configure("2") do |config|
|
||||
vagrant_root = File.dirname(__FILE__)
|
||||
|
||||
# Trigger the Vagrant pre-up script before uping the first VM only
|
||||
config.trigger.before :up, :vm => ["node-admin"], :append_to_path => ["#{vagrant_root}/scripts"] do
|
||||
run "pre-up.sh"
|
||||
end
|
||||
|
||||
|
||||
# Shell provisionner for all VMs
|
||||
config.vm.provision "ceph-preflight", type: "shell", path: "scripts/provision.sh"
|
||||
|
||||
# All VMs are based on the same box
|
||||
config.vm.box = "bento/ubuntu-16.04"
|
||||
config.vm.box = "generic/ubuntu1804"
|
||||
|
||||
# Use nfs for shared folder
|
||||
config.vm.synced_folder ".", "/vagrant",
|
||||
@@ -42,6 +40,9 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.define "node-admin", primary: true do |admin|
|
||||
admin.vm.hostname = "node-admin"
|
||||
admin.vm.provision "ceph-install", type: "shell", keep_color: true, path: "scripts/provision-admin.sh"
|
||||
admin.trigger.before :up do |trigger|
|
||||
trigger.run = {path: "scripts/pre-up.sh"}
|
||||
end
|
||||
end
|
||||
|
||||
# osd1 VM with private cluster network
|
||||
|
||||
Reference in New Issue
Block a user