only copy node_key when openstack enabled, documentation fixes
Change-Id: Ib84d166f6142781eaf77cb82471b39026a4aac24
diff --git a/README.md b/README.md
index 888fb02..159a472 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@
You can download it with:
```
-curl -O ~/cord-bootstrap.sh https://github.com/opencord/platform-install/raw/master/scripts/cord-bootstrap.sh
+curl -o ~/cord-bootstrap.sh https://raw.githubusercontent.com/opencord/platform-install/master/scripts/cord-bootstrap.sh
```
Running the script will install the [repo](https://code.google.com/p/git-repo/)
@@ -135,5 +135,7 @@
Used as a part of the [R-CORD](https://github.com/opencord/cord) deployment.
Sets up infrastructure pieces including OpenStack (via Juju) and ONOS as well
-as XOS.
+as XOS. See the [CORD-in-a-Box Quick Start
+Guide](https://github.com/opencord/cord/blob/master/docs/quickstart.md) for how
+to set up a virtual multi-node R-CORD pod on a single host.
diff --git a/roles/cord-profile/tasks/main.yml b/roles/cord-profile/tasks/main.yml
index d0f9874..d31b5e7 100644
--- a/roles/cord-profile/tasks/main.yml
+++ b/roles/cord-profile/tasks/main.yml
@@ -29,13 +29,6 @@
mode: 0600
with_items: "{{ xos_service_sshkeys }}"
-- name: Copy node_key to cord_profile directory
- copy:
- remote_src: True # file is local to the remote machine
- src: "{{ ansible_user_dir }}/node_key"
- dest: "{{ cord_profile_dir }}/node_key"
- mode: 0600
-
- name: Copy over core api key
copy:
src: "{{ playbook_dir }}/pki/intermediate_ca/private/xos-core.{{ site_suffix }}_key.pem"
@@ -93,3 +86,11 @@
src: "{{ ansible_user_dir }}/admin-openrc.sh"
dest: "{{ cord_profile_dir }}/admin-openrc.sh"
+- name: Copy node_key to cord_profile directory
+ when: use_openstack
+ copy:
+ remote_src: True # file is local to the remote machine
+ src: "{{ ansible_user_dir }}/node_key"
+ dest: "{{ cord_profile_dir }}/node_key"
+ mode: 0600
+