【文件属性】:
文件名称:CustomCloud:基于KVM管理程序的自托管云
文件大小:52KB
文件格式:ZIP
更新时间:2024-04-18 15:18:59
Shell
自定义云
用法
剧本的初始化
设置您的自定义库存(请参见inventory / inventory.yml.example)
在其host_vars或更广泛的group_vars中设置您的VM配置,可用参数为:
users ,一个定义初始用户的映射,其形式为: users:
user1:
ssh_keys:
- "ssh-rsa AAA[...]"
.
.
.
设置端口重定向和VM存储(有关示例,请参阅group_vars / all)
搭建开发环境
开发环境使用 。
设置dev env:
下载并安装Vagrant
从./dev_env运行: vagrant up
停止或销毁dev env:
从./dev_env运行:无所事事的vagrant stop或无所事事的vagrant destroy
云配置
主机的初始化(仅Ubuntu 16.0
【文件预览】:
CustomCloud-master
----vm_install.yml(572B)
----vm_create.yml(695B)
----bibibox_install.yml(180B)
----host_install.yml(340B)
----ansible.cfg(179B)
----inventories()
--------inventory.yml.example(587B)
--------dev.yml(749B)
--------prod.yml(1KB)
----group_vars()
--------all()
----vm_reinit.yml(87B)
----README.md(2KB)
----vm_refresh_exposed_ports.yml(243B)
----dev_env()
--------Vagrantfile(963B)
----host_vars()
--------bgarbage.yml(139B)
--------test.yml(2KB)
--------bbright.yml(2KB)
--------bibibox.yml(2KB)
--------bfivenpp.yml(797B)
--------bfiven.yml(797B)
----init-ansible-kimsufi-ubuntu.sh(328B)
----roles()
--------basics()
--------bibibox()
--------virtu()
----.gitignore(29B)
----vm_erase.yml(1000B)
----security.yml(105B)
----vm_undefine.yml(149B)
----init-ansible-debian.sh(1KB)