This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-installer.git

commit c1ffb88b612f2d97837584860652b42e5553ffaf
Author: Rohit Yadav <[email protected]>
AuthorDate: Thu May 23 20:31:44 2024 +0530

    Update install.sh
---
 install.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/install.sh b/install.sh
index c8c2771..a1224ab 100644
--- a/install.sh
+++ b/install.sh
@@ -266,12 +266,12 @@ deploy_zone() {
   # sudo nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
   # FIXME: prompt for IP range?
   RANGE=$(echo $GATEWAY | sed 's/\..$//g')
-  pod_start=192.168.10.200
-  pod_end=192.168.10.220
+  pod_start="$RANGE.200"
+  pod_end="$RANGE.220"
   pod_gw=$GATEWAY
   pod_mask=255.255.255.0
-  ip_start=192.168.10.221
-  ip_end=192.168.10.240
+  ip_start="$RANGE.221"
+  ip_end="$RANGE.240"
   ip_gw=$GATEWAY
   ip_mask=255.255.255.0
 

Reply via email to