commit | d39936c2ffbf609ad0107981400dc89f911baec7 | [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 17:27:12 2016 -0700 |
tree | 465db2e76c1c65b3b9fcfdc40b07d07f55fca1bd | |
parent | 18a2a988fecb092b73187e1279f0eff30ef37d82 [diff] [blame] |
Use MaaS node key when on_maas Change-Id: Ie5708aac996647ee532d33a82ec5e9af468645a8 (cherry picked from commit 057a8833bb8f5627ed2c05a307ae4149f3131020)
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 %}