# Enable provisioning with a shell script. # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME" # such as FTP and Heroku are also available. # Define a Vagrant Push strategy for pushing to Atlas. # View the documentation for the provider you are using for more # Customize the amount of memory on the VM: # Display the VirtualBox GUI when booting the machine # config.vm.provider "virtualbox" do |vb| # Provider-specific configuration so you can fine-tune various # config.vm.synced_folder "./data", "/vagrant_data" # argument is a set of non-required options. # the path on the guest to mount the folder. # the path on the host to the actual folder. # Share an additional folder to the guest VM. # Bridged networks make the machine appear as another physical device on # Create a public network, which generally matched to bridged network. # Create a private network, which allows host-only access to the machine # config.vm.network "forwarded_port", guest: 80, host: 8080 # accessing "localhost:8080" will access port 80 on the guest machine. # within the machine from a port on the host machine. # Create a forwarded port mapping which allows access to a specific port # boxes will only be checked for updates when the user runs # Every Vagrant development environment requires a box. # For a complete reference, please see the online documentation at # The most common configuration options are documented and commented below. Please don't change it unless you know what # configures the configuration version (we support older styles for # All Vagrant configuration is done below. Removing box 'bento/debian-8.6' (v2.3.0) with provider 'virtualbox'. 同理,如果要移除 (remove) 不再需要的 box,可以使用 vagrant box remove : $ vagrant box remove bento/debian-8.6 => box: Successfully added box 'bento/debian-8.6' (v2.3.0) for 'virtualbox'! => box: Adding box 'bento/debian-8.6' (v2.3.0) for provider: virtualbox This box can work with multiple providers! The providers that itĬan work with are listed below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |