-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstart.sh
executable file
·96 lines (94 loc) · 2.41 KB
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/bash
set -ex
sudo drafter-peer --netns ark0 --raddr '' --laddr 'localhost:1337' --metrics 'localhost:2112' --devices '[
{
"name": "state",
"base": "out/package/state.bin",
"overlay": "out/instance-0/overlay/state.bin",
"state": "out/instance-0/state/state.bin",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
},
{
"name": "memory",
"base": "out/package/memory.bin",
"overlay": "out/instance-0/overlay/memory.bin",
"state": "out/instance-0/state/memory.bin",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
},
{
"name": "kernel",
"base": "out/package/vmlinux",
"overlay": "out/instance-0/overlay/vmlinux",
"state": "out/instance-0/state/vmlinux",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
},
{
"name": "disk",
"base": "out/package/rootfs.ext4",
"overlay": "out/instance-0/overlay/rootfs.ext4",
"state": "out/instance-0/state/rootfs.ext4",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
},
{
"name": "config",
"base": "out/package/config.json",
"overlay": "out/instance-0/overlay/config.json",
"state": "out/instance-0/state/config.json",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
},
{
"name": "oci",
"base": "out/package/oci.ext4",
"overlay": "out/instance-0/overlay/oci.ext4",
"state": "out/instance-0/state/oci.ext4",
"blockSize": 1048576,
"expiry": 1000000000,
"maxDirtyBlocks": 200,
"minCycles": 2,
"maxCycles": 3,
"cycleThrottle": 100000000,
"makeMigratable": true,
"shared": false,
"sharedbase": true
}
]'