vagrantfile: Ensure `devices` variable is a list

in addition to e5d06a4 make sure devices variable will be a list even
with vagrant.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1673/head
Guillaume Abrioux 2017-07-12 23:23:59 +02:00
parent 49de6f9a5b
commit 17565fee5d
3 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ cluster_subnet: 192.168.1
# MEMORY
memory: 1024
disks: "[ '/dev/sda', '/dev/sdb' ]"
disks: [ '/dev/sda', '/dev/sdb' ]
eth: 'enp0s8'
vagrant_box: centos/atomic-host

View File

@ -22,7 +22,7 @@ public_subnet: 172.17.72
cluster_subnet: 172.17.72
# For Openstack VMs, the disk will depend on what you are allocated
disks: "[ '/dev/vdb' ]"
disks: [ '/dev/vdb' ]
# For Openstack VMs, the lan is usually eth0
eth: 'eth0'

View File

@ -30,9 +30,9 @@ memory: 512
eth: 'eth1'
# Disks
# For Xenial use disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For CentOS7 use disks: "[ '/dev/sda', '/dev/sdb' ]"
disks: "[ '/dev/sdb', '/dev/sdc' ]"
# For Xenial use disks: [ '/dev/sdb', '/dev/sdc' ]
# For CentOS7 use disks: [ '/dev/sda', '/dev/sdb' ]
disks: [ '/dev/sdb', '/dev/sdc' ]
# VAGRANT BOX
# Ceph boxes are *strongly* suggested. They are under better control and will