-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
101 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
rackshift-server/src/main/resources/db/migration/V37__fix_centos_ks.sql
Large diffs are not rendered by default.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
rackshift-server/src/main/resources/db/migration/V38__addhuaweiraid.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
insert into workflow | ||
values (uuid(), | ||
'system', | ||
'Graph.Quanta.storcli.Catalog', | ||
'搜集 Huawei 服务器磁盘 Raid 信息', | ||
'POST_OTHER_WORKFLOW_START', | ||
'[\'Huawei\']', | ||
'false', | ||
'{ | ||
"bootstrap-rancher": { | ||
"dockerFile": "secure.erase.docker.tar.xz" | ||
} | ||
}', | ||
'enable', | ||
now()); | ||
|
||
insert into workflow | ||
values (uuid(), | ||
'system', | ||
'Graph.Raid.Delete.MegaRAID', | ||
'清空 Huawei 服务器磁盘 Raid 信息', | ||
'POST_OTHER_WORKFLOW_START', | ||
'[\'Huawei\']', | ||
'false', | ||
'{ | ||
"bootstrap-rancher": { | ||
"dockerFile": "secure.erase.docker.tar.xz" | ||
} | ||
}', | ||
'enable', | ||
now()); | ||
|
||
insert into workflow | ||
values (uuid(), | ||
'system', | ||
'Graph.Raid.Create.PercRAID', | ||
'创建 Huawei 服务器磁盘 Raid 虚拟磁盘', | ||
'POST_OTHER_WORKFLOW_START', | ||
'[\'Huawei\']', | ||
'true', | ||
'{ | ||
"options": { | ||
"bootstrap-rancher": { | ||
"dockerFile": "secure.erase.docker.tar.xz" | ||
}, | ||
"create-raid": { | ||
"createDefault": false, | ||
"controller": 0, | ||
"path": "/opt/MegaRAID/storcli/storcli64", | ||
"raidList": [ | ||
{ | ||
"enclosure": 32, | ||
"type": "raid5", | ||
"drives": [ | ||
0, | ||
1, | ||
2 | ||
], | ||
"name": "VD0" | ||
} | ||
] | ||
} | ||
} | ||
}', | ||
'enable', | ||
now()); |
3 changes: 3 additions & 0 deletions
3
rackshift-server/src/main/resources/db/migration/V39__fixidrac6java.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
update system_parameter | ||
set param_value = 'registry.cn-qingdao.aliyuncs.com/x-lab/kvm:v1.5.1' | ||
where param_key = 'kvm.image'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters