mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-17 17:56:33 +00:00
increase size of read-only disk image
This commit is contained in:
parent
c7a761c7da
commit
6cd5fa0f7d
@ -185,7 +185,7 @@ def get_default_catalog():
|
||||
|
||||
def make_sparse_image(volume_name, output_path):
|
||||
'''Make a sparse disk image we can install a product to'''
|
||||
cmd = ['/usr/bin/hdiutil', 'create', '-size', '8g', '-fs', 'HFS+',
|
||||
cmd = ['/usr/bin/hdiutil', 'create', '-size', '10g', '-fs', 'HFS+',
|
||||
'-volname', volume_name, '-type', 'SPARSE', '-plist', output_path]
|
||||
try:
|
||||
output = subprocess.check_output(cmd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user