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

View File

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

View File

@ -19,7 +19,11 @@ import Base from 'components/Form';
@observer @observer
export default class NodeInterface extends Base { export default class NodeInterface extends Base {
get bootInterfaces() { 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() { get consoleInterfaces() {