commit | 057a8833bb8f5627ed2c05a307ae4149f3131020 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Tue Aug 02 17:31:07 2016 -0400 |
committer | Andy Bavier <andy@onlab.us> | Tue Aug 02 20:22:48 2016 -0400 |
tree | a81b4cbfd933f892b597091ae754df7c8a248ca2 | |
parent | 2a038d016bbb210df1817e2d53c2aff69f431408 [diff] [blame] |
Use MaaS node key when on_maas Change-Id: Ie5708aac996647ee532d33a82ec5e9af468645a8
diff --git a/roles/onos-vm-install/templates/onos-setup-vars.yml.j2 b/roles/onos-vm-install/templates/onos-setup-vars.yml.j2 index cd21505..136e686 100644 --- a/roles/onos-vm-install/templates/onos-setup-vars.yml.j2 +++ b/roles/onos-vm-install/templates/onos-setup-vars.yml.j2
@@ -1,2 +1,6 @@ --- - +{% if on_maas %} +node_private_key: "{{ maas_node_key }}" +{% else %} +node_private_key: "~/.ssh/id_rsa" +{% endif %}