From e0fb22dec9741ec717cbfb13a4fd3f8067a33ec6 Mon Sep 17 00:00:00 2001 From: Bruno Cornec Date: Thu, 1 Sep 2016 11:20:59 +0200 Subject: [PATCH] Fix minor documentation issue - When referering to the ANSIBLE_INSTALL_ROOT, the stack subdir is not to be used - Improve setup verification by giving an example of ironic command to pass Change-Id: Ib0471e5170d64684e9a6137da5e9b0ccad35a668 --- README.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 6a20d0c66..4337a121b 100644 --- a/README.rst +++ b/README.rst @@ -136,7 +136,7 @@ Note: Then run:: bash ./scripts/env-setup.sh - source ${ANSIBLE_INSTALL_ROOT}/stack/ansible/hacking/env-setup + source ${ANSIBLE_INSTALL_ROOT}/ansible/hacking/env-setup cd playbooks The second part is an Ansible playbook that installs and configures ironic @@ -194,7 +194,16 @@ environment variables: is required to cause the client library to send requests directly to the API. For your ease of use, ``env-vars`` can be sourced to allow the CLI to connect -to a local ironic installation operating in noauth mode. +to a local ironic installation operating in noauth mode. Run e.g.:: + + source env-vars + ironic node-list + +------+------+---------------+-------------+--------------------+-------------+ + | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | + +------+------+---------------+-------------+--------------------+-------------+ + +------+------+---------------+-------------+--------------------+-------------+ + +which should print an empty table if connection to Ironic works as expected. Hardware enrollment ===================