This commit is contained in:
Zsolt Ero
2024-09-10 23:47:25 +02:00
parent 0ec790d597
commit f48ab6f4a6
7 changed files with 49 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ from http_host_lib.config import config
from http_host_lib.utils import assert_linux, assert_sudo
def auto_mount_unmount():
def auto_mount():
"""
Mounts/unmounts the btrfs images from /data/ofm/http_host/runs automatically.
When finished, /mnt/ofm dir will have all the present tiles.btrfs files mounted in a read-only way.
@@ -26,8 +26,6 @@ def auto_mount_unmount():
print(' running mount -a')
subprocess.run(['mount', '-a'], check=True)
clean_up_mounts(config.mnt_dir)
def create_fstab():
fstab_new = []