Skip to content

Commit

Permalink
work in progress on script consolidation for kubernetes, #172
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Apr 18, 2023
1 parent aa04c8c commit 728b55d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def tweak_malcolm_runtime(
'Download updated Suricata signatures periodically?', default=False
)
autoZeek = InstallerYesOrNo('Automatically analyze all PCAP files with Zeek?', default=True)
zeekICSBestGuess = (autoZeek or liveZeek) and InstallerYesOrNo(
zeekICSBestGuess = autoZeek and InstallerYesOrNo(
'Should Malcolm use "best guess" to identify potential OT/ICS traffic with Zeek?', default=False
)
reverseDns = InstallerYesOrNo(
Expand Down Expand Up @@ -2053,7 +2053,7 @@ def install_docker(self):
else:
eprint(f"Installation of docker failed: {out}")
else:
eprint(f"Downloading {dockerComposeUrl} to {tempFileName} failed")
eprint(f"Downloading https://get.docker.com/ to {tempFileName} failed")

if result and ((self.distro == PLATFORM_LINUX_FEDORA) or (self.distro == PLATFORM_LINUX_CENTOS)):
# centos/fedora don't automatically start/enable the daemon, so do so now
Expand Down Expand Up @@ -2746,7 +2746,7 @@ def main():
installer = MacInstaller(orchMode, debug=args.debug, configOnly=args.configOnly)
elif installerPlatform == PLATFORM_WINDOWS:
raise Exception(f'{ScriptName} is not yet supported on {installerPlatform}')
installer = WindowsInstaller(orchMode, debug=args.debug, configOnly=args.configOnly)
# installer = WindowsInstaller(orchMode, debug=args.debug, configOnly=args.configOnly)

success = False
installPath = None
Expand Down
3 changes: 0 additions & 3 deletions scripts/malcolm_kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
MalcolmPath,
)
from malcolm_utils import (
deep_get,
eprint,
file_contents,
get_iterable,
remove_suffix,
tablify,
LoadStrIfJson,
Expand Down

0 comments on commit 728b55d

Please sign in to comment.