mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
fix(disk_util): Fix mount --read_only option.
This commit is contained in:
parent
c992d45dd3
commit
1ee1840a89
@ -685,7 +685,8 @@ def main(argv):
|
||||
a.set_defaults(func=Resize, create=False)
|
||||
|
||||
a = actions.add_parser('mount', help='mount filesystems in image')
|
||||
a.add_argument('--read_only', '-r', help='mount filesystems read-only')
|
||||
a.add_argument('--read_only', '-r', action='store_true',
|
||||
help='mount filesystems read-only')
|
||||
a.add_argument('disk_image', help='path to disk image file')
|
||||
a.add_argument('mount_dir', help='path to root filesystem mount point')
|
||||
a.set_defaults(func=Mount)
|
||||
|
Loading…
x
Reference in New Issue
Block a user