add IMPORTPCAP node to set_hostname

This commit is contained in:
m0duspwnens
2020-08-07 11:42:48 -04:00
parent 7d11fc345f
commit 2d7aefed0d

View File

@@ -1521,7 +1521,7 @@ set_hostname() {
set_hostname_iso
if [[ ! $install_type =~ ^(MANAGER|EVAL|HELIXSENSOR|MANAGERSEARCH|STANDALONE)$ ]]; then
if [[ ! $install_type =~ ^(MANAGER|EVAL|HELIXSENSOR|MANAGERSEARCH|STANDALONE|IMPORTPCAP)$ ]]; then
if ! getent hosts "$MSRV"; then
echo "$MSRVIP $MSRV" >> /etc/hosts
fi