Vagrant/README.md

17 lines
380 B
Markdown
Raw Normal View History

# Vagrant
```sh
➜ wget https://www.dropbox.com/s/nuz6ts1hlx4vy27/vagrant-centos-7.2.box\?dl\=0 -O vagrant-centos-7.2.box
➜ vagrant box add -f centos-7.2 vagrant-centos-7.2.box
➜ cd base
➜ vagrant up # 执行 init.sh 脚本时,最好保证能够 fq
➜ vagrant package --output centos-7.2-ehlxr.box
➜ vagrant box add -f centos-7.2-ehlxr centos-7.2-ehlxr.box
```