aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack-controller-deploy/classes/hosts.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack-controller-deploy/classes/hosts.bbclass')
-rw-r--r--meta-openstack-controller-deploy/classes/hosts.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-openstack-controller-deploy/classes/hosts.bbclass b/meta-openstack-controller-deploy/classes/hosts.bbclass
new file mode 100644
index 00000000..3b83aa5f
--- /dev/null
+++ b/meta-openstack-controller-deploy/classes/hosts.bbclass
@@ -0,0 +1,7 @@
+# controller hosts file
+COMPUTE_IP ?= "192.168.7.4"
+COMPUTE_HOST ?= "compute"
+CONTROLLER_IP ?= "192.168.7.2"
+CONTROLLER_HOST ?= "controller"
+MY_IP ?= "${CONTROLLER_IP}"
+MY_HOST ?= "${CONTROLLER_HOST}"