Skip to content

Commit

Permalink
builder/VirtualboxIso Add memory, usb, and cpus options to iso (#163)
Browse files Browse the repository at this point in the history
* Update builder.py

add memory, usb, and cpus options to virtualbox iso

* fixed bug building without options

Use False values for new options for not required instead of the default values for the options.
  • Loading branch information
iepathos authored and mayn committed Jan 22, 2019
1 parent f51f87b commit 44a4301
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/packerlicious/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,9 @@ class VirtualboxIso(PackerBuilder):
'vrdp_bind_address': (str, False),
'vrdp_port_min': (int, False),
'vrdp_port_max': (int, False),
'memory': (int, False),
'usb': (validator.boolean, False),
'cpus': (int, False),
}

def validate(self):
Expand Down

0 comments on commit 44a4301

Please sign in to comment.