pxe cloud
1.0.0
PXE Cloud是一个试图创建易于设置且易于管理的Enviroment的项目,以启动Live Images和OS安装程序。当前,您可以启动ISOS和INTRD图像。
如果您有兴趣使用此项目,请查看PXE Cloud Docker存储库。在那里,您有容器和Docker构成本地服务器(将要连接到主服务器的IPXE二进制的服务器)和主服务器(将为API服务的服务器,前端和所有Boot Menus)的定义。
有一个图表显示了所有过程:
红色和橙色路径显示了客户如何通过网络浏览器管理组织,用户,图像,菜单...。该前端打电话给API以更改DB
紫色和绿色路径显示引导过程:

该代码在两个大文件夹中分开:
api :API文件夹是包含与项目后端相关的所有代码的文件夹website :网站文件夹是包含与项目前端相关的所有代码的文件夹数据库的结构如下:
USERS
+------------------------------------------+
| |
| username PK string |
| password string |
| email string |
| organizations array of strings (FK) +----+
| groups array of strings (FK) +----+----+
| | | |
+------------------------------------------+ | |
| |
ORGANIZATIONS | |
+------------------------------------------+ | |
| | | |
| id PK string |<---+ |
| name string | |
| description string | |
| groups array of strings (FK) +----+ |
| | | |
+------------------------------------------+ | |
| |
GROUPS | |
+--------------------------------+ | |
| | | |
| id PK string |<-------------+----+
| name string |
| description string |
| menu sitrng (FK) +----+
| | |
+--------------------------------+ |
|
MENUS |
+---------------------------+ |
| | |
| id PK string |<--------+
| title string |
| background string |
| entries array |
| type string |
| "image" |
| "separator" |
| * image_id FK string +----------------------------------------------+
| * content string | |
+---------------------------+ |
* If type is image, the field content isn't going to exist and viceversa |
|
IMAGE |
+---------------------------+ |
| | |
| id PK string |<---------------------------------------------+
| title string |
| type string |
| iso |
| kernel_initrd |
| kernel_source string |
| image_source string |
| boot_args array |
| |
+---------------------------+
有关API参考,请查看https://pxecloud.docs.apiary.io。此API蓝图文档的代码在docs/pxecloud.apib上
如果您需要帮助或有疑问,请打开一个问题,我们将很乐意为您提供帮助!
该项目属于GNU通用公共许可证v3.0。有关更多信息,请检查许可证