a
This commit is contained in:
parent
f02c0231e5
commit
1e597d3db7
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ setup_etc_host() {
|
||||||
$(
|
$(
|
||||||
for i in $(seq 0 $((host_list_len - 1)));
|
for i in $(seq 0 $((host_list_len - 1)));
|
||||||
do
|
do
|
||||||
hostname=$(echo $host_list | jq -r ".[$i][0]")
|
ip=$(echo $host_list | jq -r ".[$i][0]")
|
||||||
ip=$(echo $host_list | jq -r ".[$i][1]")
|
hostname=$(echo $host_list | jq -r ".[$i][1]")
|
||||||
printf "%-25s %s\n" $hostname $ip
|
printf "%-25s %s\n" $hostname $ip
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue