Skip to content

Commit c06b3d4

Browse files
authoredDec 5, 2019
Merge pull request #65 from MScottBlake/master
Add disk_type parameter
2 parents 0d139e2 + bc61485 commit c06b3d4

File tree

1 file changed

+6
-0
lines changed
  • pkgroot/usr/local/vfuse/bin

1 file changed

+6
-0
lines changed
 

‎pkgroot/usr/local/vfuse/bin/vfuse

+6
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,9 @@ def main():
747747
parser.add_argument(
748748
"-e", "--esx", help="Create pre-allocated ESX-type VMDK", action="store_true"
749749
)
750+
parser.add_argument(
751+
"--disk_type", help="Set the VMDK options", type=int
752+
)
750753
parser.add_argument("-p", "--packer", help="Populate a packer template")
751754
parser.add_argument("-d", help="Path to CD/DVD ISO path ", default=None)
752755
parser.add_argument("--hw-model", help="Custom hardware model", default=None)
@@ -927,6 +930,9 @@ def main():
927930
if args.esx:
928931
disk_type = 4
929932

933+
if args.disk_type:
934+
disk_type = args.disk_type
935+
930936
if args.packer:
931937
packer_template = args.packer
932938

0 commit comments

Comments
 (0)
Please sign in to comment.