diff options
author | Martin Schwenke <martin@meltin.net> | 2014-11-24 20:47:12 +1100 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-11-24 20:47:12 +1100 |
commit | 393c054b1dc3b6f1eccd2614755c424573a8dc0e (patch) | |
tree | 7b2450db5b196c8024a6ec6746dbd79948e6ee06 | |
parent | eff93592a298780218299d2ce607947239eda8df (diff) | |
download | autocluster-393c054b1dc3b6f1eccd2614755c424573a8dc0e.tar.gz autocluster-393c054b1dc3b6f1eccd2614755c424573a8dc0e.tar.xz autocluster-393c054b1dc3b6f1eccd2614755c424573a8dc0e.zip |
base_create: Set IPNUM=$FIRSTIP
This allows removal of a kludge in guess_install_network().
Signed-off-by: Martin Schwenke <martin@meltin.net>
-rwxr-xr-x | autocluster | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autocluster b/autocluster index 7e259d2..62cbdfd 100755 --- a/autocluster +++ b/autocluster @@ -726,7 +726,7 @@ guess_install_network () case "$o" in gw\=*) INSTALL_GW="${o#gw=}" - INSTALL_IP="${ip}${FIRSTIP}" + INSTALL_IP="$ip" esac done [ -n "$INSTALL_IP" ] || INSTALL_IP="$ip" @@ -761,6 +761,7 @@ base_create() setup_timezone + IPNUM=$FIRSTIP make_network_map guess_install_network |