make internal interface names configurable from config.yaml
Change-Id: Ia018f3a71073a7cfdb093096ba313292909f2675
This commit is contained in:
parent
20b2965fd9
commit
323306a8d9
|
@ -69,6 +69,8 @@ def configure_vm(name, vm, conf)
|
|||
"is_compute" => (name != "manager"),
|
||||
"use_ldap" => conf["use_ldap"] || false,
|
||||
"extra_images" => conf["extra_images"] || "",
|
||||
"guest_interface_default" => conf["guest_interface_default"] || "enp0s8",
|
||||
"host_ip_iface" => conf["host_ip_iface"] || "enp0s8",
|
||||
"vagrant_username" => conf["vagrant_username"] || "ubuntu",
|
||||
}
|
||||
# add all the rest of the content in the conf file
|
||||
|
|
|
@ -18,8 +18,8 @@ DATABASE_TYPE=mysql
|
|||
|
||||
# networking configuration parameters
|
||||
|
||||
GUEST_INTERFACE_DEFAULT=eth1
|
||||
HOST_IP_IFACE=eth1
|
||||
GUEST_INTERFACE_DEFAULT=<%= @guest_interface_default %>
|
||||
HOST_IP_IFACE=<%= @host_ip_iface %>
|
||||
|
||||
# logging configuration parameters
|
||||
|
||||
|
|
Loading…
Reference in New Issue