Commit 3248c958 authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

Revert "Merge branch 'feat-create-compute-node' into 'master'"

This reverts merge request !7
parent b095520d
......@@ -124,25 +124,3 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" {
]
}
}
#Create a port
resource "openstack_networking_port_v2" "port_c0" {
name = "port_c0"
network_id = "${openstack_networking_network_v2.clusternet.id}"
admin_state_up = "true"
}
#create a compute node
resource "openstack_compute_instance_v2" "c0" {
depends_on = ["openstack_networking_subnet_v2.clustersubnet"]
name = "c0"
image_name = "${var.image}"
flavor_name = "${var.flavor}"
key_pair = "${openstack_compute_keypair_v2.keypair.name}"
security_groups = ["default"]
# defines the networks of the instance
network {
port = "${openstack_networking_port_v2.port_c0.id}"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment