feat(): init

first commit

Signed-off-by: ehlxr <ehlxr.me@gmail.com>
This commit is contained in:
2018-03-29 18:42:14 +08:00
commit ca4b8f52c8
7 changed files with 164 additions and 0 deletions

14
base/Vagrantfile vendored Normal file
View File

@@ -0,0 +1,14 @@
Vagrant.configure("2") do |config|
config.vm.box = "centos-7.2"
config.vm.network "private_network", ip: "192.168.3.3"
config.vbguest.auto_update = false
config.vm.synced_folder "/Users/ehlxr/works/Vagrant", "/vagrant"
# 自定义初始化执行脚本
config.vm.provision "shell", path: "../config/init.sh"
# 默认 root 登陆
config.ssh.username = "root"
config.ssh.password = "vagrant"
config.ssh.insert_key = "true"
end