From bd12700619f3fa06b32e750312e0d0aa610eee09 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Wed, 1 Jul 2015 14:43:01 -0400 Subject: [PATCH] Update VM testing steps Updated the manual VM testing steps to direct users to utilize the vm creation playbook. Change-Id: I6b1ea31a307fa2ae483869ec02ae45b0603af708 --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index d4018bcca..8ead75969 100644 --- a/README.rst +++ b/README.rst @@ -336,9 +336,9 @@ will use this key to connect to the host machine and run virsh commands. #. Set ``testing`` to *true* in the ``playbooks/inventory/group_vars/all`` file. #. You may need to adjust the value for ``ssh_public_key_path``. -#. Run the install step, as documented above. -#. Run the ``tools/create_vm_nodes.sh`` script. By default, it will create a single VM node. Read the documentation within the script to see how to create more than one. -#. The ``tools/create_vm_nodes.sh`` script will output CSV entries that can be used for the enrollment step. You will need to create a CSV file with this output. +#. Run the install step, as documented above, however adding "-e testing=true" to the Ansible command line. +#. Execute the ``ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml`` command to create a test virtual machine. +#. Set the environment variable of BIFROST_INVENTORY_SOURCE to the path to the csv file, which by default has been written to /tmp/baremetal.csv. #. Run the enrollment step, as documented above, using the CSV file you created in the previous step. #. Run the deployment step, as documented above.