Skip to content

Commit

Permalink
Fixing issue #45
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Ding <[email protected]>
  • Loading branch information
Dyanngg committed Apr 23, 2019
1 parent c39f137 commit b5065fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/create_hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function create_manager_host {
# Outer parenthesis converts string to an array
nsx_manager_ips=($(echo "$nsx_manager_ips_int" | sed -e 's/,/ /g'))
manager_ip=${nsx_manager_ips[0]}
manager_hostname="${nsx_manager_hostname_prefix_int-1}"
manager_hostname="${nsx_manager_hostname_prefix_int}-1"
# The following need to be placed under [localhost:vars] section
cat >> manager_host <<-EOF
Expand Down
2 changes: 1 addition & 1 deletion nsxt_yaml/basic_topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
datastore: "{{hostvars['localhost'].vcenter_datastore}}"
portgroup: "{{hostvars['localhost'].mgmt_portgroup}}"
cluster: "{{hostvars['localhost'].vcenter_cluster}}"
vmname: "{{hostvars['localhost'].nsx_manager_assigned_hostname}}-1"
vmname: "{{hostvars['localhost'].nsx_manager_assigned_hostname}}"
hostname: "{{hostvars['localhost'].nsx_manager_assigned_hostname}}.{{hostvars['localhost'].dns_domain}}"
dns_server: "{{hostvars['localhost'].dns_server}}"
dns_domain: "{{hostvars['localhost'].dns_domain}}"
Expand Down

0 comments on commit b5065fa

Please sign in to comment.