Commit 100ae516 authored by nanahira's avatar nanahira

readme

parent 4743394a
# mycard-deploy
MyCard 服务器初始化工具合集
## 如何使用
1. `git submodule update --init && cd nextgen-router && ./prepare.sh`
1. 复制 `inventory.example.yaml``inventory.yaml`,修改配置。
1. `./init.sh --limit <主机名>`
1. `ansible <主机名> -m shell -b -a reboot`
1. **可选。**如果主机作为路由器,那么
......@@ -23,14 +23,19 @@ mycard:
reboot: true
pip_executable_install: pip
registry: https://registry.mycard.moe
china_mirror_docker: true
china_mirror_pip: true
china_mirror_omf: true
china_mirror_docker: false
china_mirror_pip: false
china_mirror_omf: false
cpufreq_policy: none
vm_agents_status: present
customization: true
nvidia_driver_version: null
cloud_kernel: auto # or enabled / disabled
xanmod: false
#railgun: # MyCard 内网机器建议打开这里
# destination: chnroute
# remoteGatewayId: 31
rcloud:
hosts:
......
#!/bin/bash
ansible-playbook nextgen-router/install.yaml "$@"
ansible-playbook nextgen-router/mcnetwork-install.yaml "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment