Improve general quality of Vagrantfile

This commit is contained in:
Jedrzej Nowak 2016-05-05 15:25:33 +02:00
parent a1ba9a09ad
commit cc59f3ccb4
2 changed files with 13 additions and 9 deletions

15
Vagrantfile vendored
View File

@ -147,13 +147,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
libvirt.disk_bus = "virtio"
end
if SYNC_TYPE == 'nfs'
config.vm.synced_folder ".", "/vagrant", type: "nfs"
end
if SYNC_TYPE == 'rsync'
config.vm.synced_folder ".", "/vagrant", type: "rsync",
rsync__args: ["--verbose", "--archive", "--delete", "-z"]
end
config.vm.synced_folder ".", "/vagrant", disabled: true
# if SYNC_TYPE == 'nfs'
# config.vm.synced_folder ".", "/vagrant", type: "nfs"
# end
# if SYNC_TYPE == 'rsync'
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "-z"]
# end
end
end

View File

@ -3,10 +3,13 @@
master_image: solar-project/solar-minimal
master_image_version: null
master_ram: 512
# 256 is enough, can be trimed down when needed
master_ram: 350
master_cpus: 1
slaves_ram: 1024
slaves_count: 2
slaves_count: 1
# you can select between
# yk0/ubuntu-xenial OR fc23
slaves_image: yk0/ubuntu-xenial
slaves_image_version: null
master_ips: