fix: Add ipxe, fake boot interface when create bare metal

Add ipxe, fake boot interface when create bare metal

Change-Id: Ie2b73e9ee5e997709dd57dc1dba19ccae5739133
This commit is contained in:
Jingwei.Zhang 2021-10-08 12:09:06 +08:00
parent b3d0e1f83f
commit ec49fffbe5
3 changed files with 9 additions and 1 deletions

View File

@ -625,6 +625,7 @@
"External Port": "External Port",
"Extra Infos": "Extra Infos",
"Extra Spec": "Extra Spec",
"FAKE": "FAKE",
"FLAT": "FLAT",
"Fail Rollback": "Fail Rollback",
"Failed": "Failed",
@ -741,6 +742,7 @@
"IPMI Protocol Version": "IPMI Protocol Version",
"IPMI Username": "IPMI Username",
"IPMITool": "IPMITool",
"IPXE": "IPXE",
"IPsec Policy": "IPsec Policy",
"IPv4": "IPv4",
"IPv4 Address": "IPv4 Address",

View File

@ -625,6 +625,7 @@
"External Port": "源端口",
"Extra Infos": "额外信息",
"Extra Spec": "额外规格",
"FAKE": "",
"FLAT": "",
"Fail Rollback": "失败回滚",
"Failed": "失败",
@ -741,6 +742,7 @@
"IPMI Protocol Version": "IPMI协议版本",
"IPMI Username": "IPMI用户名",
"IPMITool": "",
"IPXE": "",
"IPsec Policy": "IPsec策略",
"IPv4": "",
"IPv4 Address": "IPv4 地址",

View File

@ -19,7 +19,11 @@ import Base from 'components/Form';
@observer
export default class NodeInterface extends Base {
get bootInterfaces() {
return [{ value: 'pxe', label: t('PXE') }];
return [
{ value: 'pxe', label: t('PXE') },
{ value: 'ipxe', label: t('IPXE') },
{ value: 'fake', label: t('FAKE') },
];
}
get consoleInterfaces() {