mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-17 17:56:33 +00:00
Merge pull request #47 from aysiu/patch-1
9GB sparse disk image to accommodate 10.15.4
This commit is contained in:
commit
58b7d0d436
@ -128,7 +128,7 @@ def get_default_catalog():
|
|||||||
|
|
||||||
def make_sparse_image(volume_name, output_path):
|
def make_sparse_image(volume_name, output_path):
|
||||||
'''Make a sparse disk image we can install a product to'''
|
'''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', '9g', '-fs', 'HFS+',
|
||||||
'-volname', volume_name, '-type', 'SPARSE', '-plist', output_path]
|
'-volname', volume_name, '-type', 'SPARSE', '-plist', output_path]
|
||||||
try:
|
try:
|
||||||
output = subprocess.check_output(cmd)
|
output = subprocess.check_output(cmd)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user