fix(Sr): add type cifs in deviceConfig. Fixes vatesfr/xo-web#1615 (#439)

This commit is contained in:
Olivier Lambert
2016-11-04 11:42:03 +01:00
committed by Julien Fontanet
parent 0bbd002060
commit 313e2b3de6

View File

@@ -121,6 +121,7 @@ export async function createIso ({
deviceConfig.legacy_mode = 'true'
} else if (type === 'smb') {
path = path.replace(/\\/g, '/')
deviceConfig.type = 'cifs'
deviceConfig.username = user
deviceConfig.cifspassword = password
}