Skip to content

Commit

Permalink
testing idaholab#266, Malcolm ISO should format bigger drives for ind…
Browse files Browse the repository at this point in the history
…ex and artifact storage
  • Loading branch information
mmguero committed Mar 21, 2024
1 parent 4ae65fe commit 2b11765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,12 +862,12 @@ def tweak_malcolm_runtime(self, malcolm_install_path):

# directories for data volume mounts (PCAP storage, Zeek log storage, OpenSearch indexes, etc.)

# if the file .os_disk_config_defaults was created by the environment (os-disk-config.py)
# if the file .os-disk-config-defaults was created by the environment (os-disk-config.py)
# we'll use those as defaults, otherwise base things underneath the malcolm_install_path
diskFormatInfo = {}
try:
diskFormatInfoFile = os.path.join(
os.path.realpath(os.path.join(ScriptPath, "..")), ".os_disk_config_defaults"
os.path.realpath(os.path.join(ScriptPath, "..")), ".os-disk-config-defaults"
)
if os.path.isfile(diskFormatInfoFile):
with open(diskFormatInfoFile) as f:
Expand Down
4 changes: 2 additions & 2 deletions shared/bin/os-disk-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ def main():
print(line)

elif (osMode == OS_MODE_MALCOLM) and os.path.isdir(os.path.join(ownerHome, 'Malcolm')):
# write .os_disk_config_defaults for to be picked up by install.py
configFilePath = os.path.join(os.path.join(ownerHome, 'Malcolm'), '.os_disk_config_defaults')
# write .os-disk-config-defaults for to be picked up by install.py
configFilePath = os.path.join(os.path.join(ownerHome, 'Malcolm'), '.os-disk-config-defaults')
createdUserDirsFull = None
if os.path.isfile(configFilePath):
with open(configFilePath, 'r') as f:
Expand Down

0 comments on commit 2b11765

Please sign in to comment.