MNAIO: Correct README regarding DATA_DISK_DEVICE

The DATA_DISK_DEVICE environment variable no longer exists.
In this patch we correct the README with the appropriate
instructions for changing the data disk device.

Change-Id: I2790b6d848a2960d89f122b0f5bb1cf714c68809
This commit is contained in:
Jesse Pretorius 2018-09-20 12:37:57 +01:00
parent b0ead67f54
commit af73200d70

View File

@ -24,12 +24,19 @@ an Ubuntu 14.04/16.04/18.04 LTS Operating system. System assumes that you have a
unpartitioned device with at least 1TB of storage, however you can customize the unpartitioned device with at least 1TB of storage, however you can customize the
size of each VM volume by setting the option ``${VM_DISK_SIZE}``. If you're size of each VM volume by setting the option ``${VM_DISK_SIZE}``. If you're
using the Rackspace OnMetal servers the drive partitioning will be done for you using the Rackspace OnMetal servers the drive partitioning will be done for you
by detecting the largest unpartitioned device. If you're doing the deployment on by detecting the largest unpartitioned device. If you wish to use a different
something other than a Rackspace OnMetal server you may need to set the device, then set the ``mnaio_data_disk`` extra var when running the playbooks or
``${DATA_DISK_DEVICE}`` variable accordingly. the playbooks will look for a by exporting the extra var before running build.sh, eg:
volume group named "vg01", if this volume group exists no partitioning or setup
on the data disk will take place. To effectively use this process for testing .. code-block:: bash
it's recommended that the host machine have at least 32GiB of RAM.
export MNAIO_ANSIBLE_PARAMETERS="-e mnaio_data_disk=sdb"
./build.sh
The playbooks will look for a volume group named "vg01", if this volume group
exists no partitioning or setup on the data disk will take place. To effectively
use this process for testing it's recommended that the host machine have at least
32GiB of RAM.
=========== ======== ============ =========== ======== ============
Physical Host Specs known to work well Physical Host Specs known to work well