Skip to content

Commit 33d748e

Browse files
authored
Add default device name value
1 parent 3e29656 commit 33d748e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/virtualbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ var storage = {
313313
},
314314
attach: function (options, callback){
315315
var vm = options.vm || options.name || options.vmname || options.title,
316-
device_name = options.perhiperal_name,
316+
device_name = options.perhiperal_name || "IDE",
317317
port = options.port || "0",
318318
device = options.device || "0",
319319
type = options.type || "dvddrive";

0 commit comments

Comments
 (0)