Update tree device type to dir
This commit is contained in:
parent
fcb3e6307f
commit
84ba14ef7c
2 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,7 @@ __ __ _ __ ____ __
|
||||||
var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block2"));
|
var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block2"));
|
||||||
var webDevice = await CheerpX.WebDevice.create("");
|
var webDevice = await CheerpX.WebDevice.create("");
|
||||||
var dataDevice = await CheerpX.DataDevice.create();
|
var dataDevice = await CheerpX.DataDevice.create();
|
||||||
CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"tree",dev:webDevice,path:"/app"},{type:"tree",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback);
|
CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"dir",dev:webDevice,path:"/app"},{type:"dir",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback);
|
||||||
}
|
}
|
||||||
function initialMessage()
|
function initialMessage()
|
||||||
{
|
{
|
||||||
|
|
|
@ -360,7 +360,7 @@ __ __ _ __ ____ __
|
||||||
var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block1"));
|
var overlayDevice = await CheerpX.OverlayDevice.create(blockDevice, await CheerpX.IDBDevice.create("block1"));
|
||||||
var webDevice = await CheerpX.WebDevice.create("");
|
var webDevice = await CheerpX.WebDevice.create("");
|
||||||
var dataDevice = await CheerpX.DataDevice.create();
|
var dataDevice = await CheerpX.DataDevice.create();
|
||||||
CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"tree",dev:webDevice,path:"/app"},{type:"tree",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback);
|
CheerpX.Linux.create({mounts:[{type:"ext2",dev:overlayDevice,path:"/"},{type:"dir",dev:webDevice,path:"/app"},{type:"dir",dev:dataDevice,path:"/data"},{type:"devs",path:"/dev"},{type:"proc",path:"/proc"}], networkInterface: networkInterface}).then(runTest, failCallback);
|
||||||
}
|
}
|
||||||
function initialMessage()
|
function initialMessage()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue