Skip to content

Commit

Permalink
vagrantfile: Ensure devices variable is a list
Browse files Browse the repository at this point in the history
in addition to e5d06a4 make sure devices variable will be a list even
with vagrant.

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Jul 12, 2017
1 parent 49de6f9 commit 17565fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vagrant_variables.yml.atomic
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vagrant_variables.yml.openstack
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions vagrant_variables.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17565fe

Please sign in to comment.