Merge pull request #1092 from ceph/ceph-boxes

Use new ceph vagrant boxes
pull/1098/head
Andrew Schoen 2016-11-16 09:42:31 -06:00 committed by GitHub
commit 0a6bb6e06c
7 changed files with 70 additions and 13 deletions

12
Vagrantfile vendored
View File

@ -30,6 +30,7 @@ DOCKER = settings['docker']
USER = settings['ssh_username'] USER = settings['ssh_username']
ASSIGN_STATIC_IP = !(BOX == 'openstack' or BOX == 'linode') ASSIGN_STATIC_IP = !(BOX == 'openstack' or BOX == 'linode')
DISABLE_SYNCED_FOLDER = settings.fetch('vagrant_disable_synced_folder', false)
ansible_provision = proc do |ansible| ansible_provision = proc do |ansible|
if DOCKER then if DOCKER then
@ -126,9 +127,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.private_key_path = settings['ssh_private_key_path'] config.ssh.private_key_path = settings['ssh_private_key_path']
config.ssh.username = USER config.ssh.username = USER
# Faster bootup. Disable if you need this for libvirt # Faster bootup. Disables mounting the sync folder for libvirt and virtualbox
config.vm.provider :libvirt do |v,override| if DISABLE_SYNCED_FOLDER
override.vm.synced_folder '.', SYNC_DIR, disabled: true config.vm.provider :virtualbox do |v,override|
override.vm.synced_folder '.', SYNC_DIR, disabled: true
end
config.vm.provider :libvirt do |v,override|
override.vm.synced_folder '.', SYNC_DIR, disabled: true
end
end end
if BOX == 'openstack' if BOX == 'openstack'

View File

@ -38,7 +38,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -52,6 +58,9 @@ vagrant_box: centos/7
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync #vagrant_sync_dir: /home/vagrant/sync
#vagrant_sync_dir: / #vagrant_sync_dir: /
# Disables synced folder creation. Not needed for testing, will skip mounting
# the vagrant directory on the remote box regardless of the provider.
vagrant_disable_synced_folder: true
# VAGRANT URL # VAGRANT URL
# This is a URL to download an image from an alternate location. vagrant_box # This is a URL to download an image from an alternate location. vagrant_box
# above should be set to the filename of the image. # above should be set to the filename of the image.

View File

@ -38,7 +38,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -52,6 +58,9 @@ vagrant_box: centos/7
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync #vagrant_sync_dir: /home/vagrant/sync
#vagrant_sync_dir: / #vagrant_sync_dir: /
# Disables synced folder creation. Not needed for testing, will skip mounting
# the vagrant directory on the remote box regardless of the provider.
vagrant_disable_synced_folder: true
# VAGRANT URL # VAGRANT URL
# This is a URL to download an image from an alternate location. vagrant_box # This is a URL to download an image from an alternate location. vagrant_box
# above should be set to the filename of the image. # above should be set to the filename of the image.

View File

@ -38,7 +38,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -46,12 +52,15 @@ disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For more boxes have a look at: # For more boxes have a look at:
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q= # - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/ # - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
vagrant_box: yk0/ubuntu-xenial vagrant_box: ceph/ubuntu-xenial
#ssh_private_key_path: "~/.ssh/id_rsa" #ssh_private_key_path: "~/.ssh/id_rsa"
# The sync directory changes based on vagrant box # The sync directory changes based on vagrant box
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync #vagrant_sync_dir: /home/vagrant/sync
#vagrant_sync_dir: / #vagrant_sync_dir: /
# Disables synced folder creation. Not needed for testing, will skip mounting
# the vagrant directory on the remote box regardless of the provider.
vagrant_disable_synced_folder: true
# VAGRANT URL # VAGRANT URL
# This is a URL to download an image from an alternate location. vagrant_box # This is a URL to download an image from an alternate location. vagrant_box
# above should be set to the filename of the image. # above should be set to the filename of the image.

View File

@ -38,7 +38,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -46,12 +52,15 @@ disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For more boxes have a look at: # For more boxes have a look at:
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q= # - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/ # - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
vagrant_box: yk0/ubuntu-xenial vagrant_box: ceph/ubuntu-xenial
#ssh_private_key_path: "~/.ssh/id_rsa" #ssh_private_key_path: "~/.ssh/id_rsa"
# The sync directory changes based on vagrant box # The sync directory changes based on vagrant box
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync #vagrant_sync_dir: /home/vagrant/sync
#vagrant_sync_dir: / #vagrant_sync_dir: /
# Disables synced folder creation. Not needed for testing, will skip mounting
# the vagrant directory on the remote box regardless of the provider.
vagrant_disable_synced_folder: true
# VAGRANT URL # VAGRANT URL
# This is a URL to download an image from an alternate location. vagrant_box # This is a URL to download an image from an alternate location. vagrant_box
# above should be set to the filename of the image. # above should be set to the filename of the image.

View File

@ -38,7 +38,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -46,12 +52,15 @@ disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For more boxes have a look at: # For more boxes have a look at:
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q= # - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/ # - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
vagrant_box: yk0/ubuntu-xenial vagrant_box: ceph/ubuntu-xenial
#ssh_private_key_path: "~/.ssh/id_rsa" #ssh_private_key_path: "~/.ssh/id_rsa"
# The sync directory changes based on vagrant box # The sync directory changes based on vagrant box
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
#vagrant_sync_dir: /home/vagrant/sync #vagrant_sync_dir: /home/vagrant/sync
#vagrant_sync_dir: / #vagrant_sync_dir: /
# Disables synced folder creation. Not needed for testing, will skip mounting
# the vagrant directory on the remote box regardless of the provider.
vagrant_disable_synced_folder: true
# VAGRANT URL # VAGRANT URL
# This is a URL to download an image from an alternate location. vagrant_box # This is a URL to download an image from an alternate location. vagrant_box
# above should be set to the filename of the image. # above should be set to the filename of the image.

View File

@ -34,7 +34,13 @@ eth: 'eth1'
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sdb', '/dev/sdc' ]"
# VAGRANT BOX # VAGRANT BOX
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64 # Ceph boxes are *strongly* suggested. They are under better control and will
# not get updated frequently unless required for build systems. These are (for
# now):
#
# * ceph/ubuntu-xenial
#
# Ubuntu: ceph/ubuntu-xenial or bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet # CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
# libvirt CentOS: centos/7 # libvirt CentOS: centos/7
# parallels Ubuntu: parallels/ubuntu-14.04 # parallels Ubuntu: parallels/ubuntu-14.04
@ -42,7 +48,7 @@ disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For more boxes have a look at: # For more boxes have a look at:
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q= # - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/ # - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
vagrant_box: bento/ubuntu-16.04 vagrant_box: ceph/ubuntu-xenial
# The sync directory changes based on vagrant box # The sync directory changes based on vagrant box
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant # Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
vagrant_sync_dir: /home/vagrant/sync vagrant_sync_dir: /home/vagrant/sync