【文件属性】:
文件名称:PackStackSandBox:用于两节点 RDO Packstack 设置 Centos7 的 Vagrantfile
文件大小:30KB
文件格式:ZIP
更新时间:2021-06-22 09:05:33
Shell
包堆栈沙盒
使用 packstack 进行进一步沙箱工作的模板,带来了两个节点。 一个控制器和一个计算/网络。 应该很容易修改以满足您的需求。
可以在桥接模式或 nat 模式下运行,详情见下文
使用 vagrant ssh 控制器 vagrant ssh 计算 vagrant up 后可以访问节点
要求
获取 VirtualBox
获取流浪者
安装 vagrant-vbguest
vagrant plugin install vagrant-vbguest
获取这个 repo
git clone https://github.com/Aricg/PackStackSandBox.git && cd PackStackSandBox
自然模式
将 Vagrantfile.yml.template.natmode 复制到 Vagrantfile.yml
Nat 网络将通过 v
【文件预览】:
PackStackSandBox-master
----.gitignore(89B)
----bin()
--------SetupComputeNode(350B)
--------SetupComputeNodeAfterReboot(688B)
--------prepare.sh(554B)
--------CreateAndSourceKey(164B)
--------build_answerfile(690B)
--------maskconv(1KB)
--------LaunchCirrosVM(1000B)
--------GetCirrosMinimalImage(245B)
--------testyaml(101B)
--------DeleteNetwork(982B)
--------SwitchToQemu(342B)
--------parse_yaml(605B)
----Vagrantfile(3KB)
----LICENSE(1KB)
----Vagrantfile.yml.template.bridgemode(270B)
----Vagrantfile.yml.template.natmode(346B)
----hiera.yaml(93B)
----README.md(9KB)
----.bashrc(152B)
----conf()
--------ifcfg-eth1-compute(56B)
--------ifcfg-eth1(83B)
--------template.SetupNeutron(2KB)
--------ifcfg-br-ex(251B)
--------template.bridge(23KB)
--------template.nat(23KB)
----manifests()
--------default.pp(182B)