Skip to content

Commit

Permalink
Merge pull request #65 from MScottBlake/master
Browse files Browse the repository at this point in the history
Add disk_type parameter
  • Loading branch information
chilcote committed Dec 5, 2019
2 parents 0d139e2 + bc61485 commit c06b3d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgroot/usr/local/vfuse/bin/vfuse
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,9 @@ def main():
parser.add_argument(
"-e", "--esx", help="Create pre-allocated ESX-type VMDK", action="store_true"
)
parser.add_argument(
"--disk_type", help="Set the VMDK options", type=int
)
parser.add_argument("-p", "--packer", help="Populate a packer template")
parser.add_argument("-d", help="Path to CD/DVD ISO path ", default=None)
parser.add_argument("--hw-model", help="Custom hardware model", default=None)
Expand Down Expand Up @@ -927,6 +930,9 @@ def main():
if args.esx:
disk_type = 4

if args.disk_type:
disk_type = args.disk_type

if args.packer:
packer_template = args.packer

Expand Down

0 comments on commit c06b3d4

Please sign in to comment.