MNAIO: Tidy up README image use instructions

Change-Id: I114a7e2fdf404fe50836a3bfdcdb09b438f3344b
This commit is contained in:
Jesse Pretorius 2018-10-12 10:41:45 +01:00
parent dd1c636a59
commit 8fc6ec9423

View File

@ -305,18 +305,16 @@ host as follows.
.. code-block:: bash
# First prepare the host and get the base services started
source bootstrap.sh
./bootstrap.sh
source ansible-env.rc
export ANSIBLE_PARAMETERS="-i playbooks/inventory -e default_vm_disk_mode=file"
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/setup-host.yml
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-acng.yml
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-pxe.yml
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-dhcp.yml
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-acng.yml playbooks/deploy-pxe.yml playbooks/deploy-dhcp.yml
# Then download the images
export IMAGE_MANIFEST_URL="http://example.com/images/manifest.json"
ansible-playbook ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/download-vms.yml -e manifest_url=${IMAGE_MANIFEST_URL}
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/download-vms.yml -e manifest_url=${IMAGE_MANIFEST_URL}
# Then kick off the VM's from those images
ansible-playbook ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-vms.yml
ansible-playbook ${ANSIBLE_PARAMETERS} playbooks/deploy-vms.yml