diff --git a/examples/openstack/openstack.py b/examples/openstack/openstack.py index a2c32d68..b3d431d5 100755 --- a/examples/openstack/openstack.py +++ b/examples/openstack/openstack.py @@ -57,7 +57,7 @@ def setup_resources(): resources = vr.create('nodes', 'templates/nodes_with_transports.yaml', {"count": 2}) nodes = [x for x in resources if x.name.startswith('node')] node1, node2 = nodes - resources = vr.create('nodes_network', 'templates/nodes_network.yml', {"count": 2}) + resources = vr.create('nodes_network', 'templates/nodes_network.yaml', {"count": 2}) nodes_sdn = [x for x in resources if x.name.startswith('node')] node1_sdn, node2_sdn = nodes_sdn diff --git a/templates/nodes_network.yml b/templates/nodes_network.yaml similarity index 100% rename from templates/nodes_network.yml rename to templates/nodes_network.yaml diff --git a/templates/nodes_with_transports.yaml b/templates/nodes_with_transports.yaml index f0501da4..963eb71d 100644 --- a/templates/nodes_with_transports.yaml +++ b/templates/nodes_with_transports.yaml @@ -5,7 +5,7 @@ resources: from: resources/transport_ssh values: ssh_user: 'vagrant' - ssh_key: '/vagrant/.vagrant/machines/solar-dev{{i + 1}}/virtualbox/private_key' + ssh_key: '/vagrant/.vagrant/machines/solar-dev{{i + 1}}/libvirt/private_key' - id: transports{{i}} from: resources/transports values: