-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaos_updatemanager.cfg
65 lines (65 loc) · 1.86 KB
/
aos_updatemanager.cfg
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
{
"ID": "um",
"IAMPublicServerUrl": "aosiam:8090"
"CMServerUrl": "aoscm:8093",
"CACert": "/etc/ssl/certs/rootCA.crt",
"CertStorage": "um",
"DownloadDir": "/var/aos/updatemanager/download",
"WorkingDir": "/var/aos/updatemanager",
"IamServerUrl": ":8089",
"UpdateModules": [
{
"ID": "cluster",
"Disabled": true,
"Plugin": "sshmodule",
"UpdatePriority": 0,
"RebootPriority": 0,
"Params": {
"Host": "192.168.1.133:22",
"User": "root",
"Password": "",
"DestPath": "/tmp/image.tar.bz2",
"Commands": [
"cd /tmp",
"mkdir image -p",
"tar -xvf image.tar.bz2 -C image",
"cd image",
"./install.sh"
]
}
},
{
"ID": "test",
"Disabled": false,
"Plugin": "testmodule"
"UpdatePriority": 0,
"RebootPriority": 0,
},
{
"ID": "rootfs",
"Disabled": false,
"Plugin": "overlaymodule",
"Params": {
"VersionFile": "/etc/os-release",
"UpdateDir": "/var/aos/update"
}
},
{
"ID": "boot",
"Disabled": false,
"Plugin": "efidualpart",
"Params": {
"Loader": "/EFI/BOOT/bootx64.efi",
"VersionFile": "/etc/os-release"
"Partitions": [
"/dev/hda1",
"/dev/hda2"
]
}
}
],
"migration": {
"migrationPath" : "/usr/share/aos/updatemanager/migration",
"mergedMigrationPath" : "/var/aos/updatemanager/mergedMigration"
}
}