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 25, 2019
1 parent c39f137 commit 19c7adb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker_image/nsx-t-install-03252019-ua.tar
Git LFS file not shown
3 changes: 0 additions & 3 deletions docker_image/nsx-t-install-03252019.tar

This file was deleted.

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
3 changes: 2 additions & 1 deletion nsxt_yaml/basic_resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
node_deployment_info:
resource_type: "HostNode"
display_name: "{{hostvars[item].fabric_node_name}}"
ip_addresses: "{{hostvars[item].ip}}"
ip_addresses:
- "{{hostvars[item].ip}}"
os_type: "ESXI"
os_version: "{{hostvars[item].esx_os_version}}"
host_credential:
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 19c7adb

Please sign in to comment.