mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-18 02:06:26 +00:00
Bump sparseimage size to 16g; eliminate extra whitespace
This commit is contained in:
parent
fb503afeb1
commit
d4860447b3
@ -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', '9g', '-fs', 'HFS+',
|
cmd = ['/usr/bin/hdiutil', 'create', '-size', '16g', '-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