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 dfbf3e0
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit dfbf3e0

Please sign in to comment.