tnargav 1.2.3 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -3
- data/CHANGELOG.md +311 -0
- data/bin/vagrant +12 -0
- data/config/default.rb +2 -4
- data/keys/README.md +0 -7
- data/lib/vagrant.rb +7 -0
- data/lib/vagrant/action.rb +2 -0
- data/lib/vagrant/action/builtin/box_add.rb +12 -1
- data/lib/vagrant/action/builtin/confirm.rb +1 -0
- data/lib/vagrant/action/builtin/graceful_halt.rb +9 -5
- data/lib/vagrant/action/builtin/handle_box_url.rb +16 -7
- data/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +1 -1
- data/lib/vagrant/action/builtin/mixin_provisioners.rb +43 -0
- data/lib/vagrant/action/builtin/nfs.rb +18 -8
- data/lib/vagrant/action/builtin/provision.rb +30 -21
- data/lib/vagrant/action/builtin/provisioner_cleanup.rb +35 -0
- data/lib/vagrant/action/builtin/wait_for_communicator.rb +84 -0
- data/lib/vagrant/action/warden.rb +2 -1
- data/lib/vagrant/box_collection.rb +62 -44
- data/lib/vagrant/cli.rb +1 -9
- data/lib/vagrant/config/v2/root.rb +6 -0
- data/lib/vagrant/environment.rb +27 -51
- data/lib/vagrant/errors.rb +33 -1
- data/lib/vagrant/guest.rb +2 -2
- data/lib/vagrant/machine.rb +14 -22
- data/lib/vagrant/plugin/v2/command.rb +4 -1
- data/lib/vagrant/plugin/v2/communicator.rb +21 -0
- data/lib/vagrant/plugin/v2/guest.rb +1 -56
- data/lib/vagrant/plugin/v2/provisioner.rb +6 -0
- data/lib/vagrant/util/downloader.rb +7 -2
- data/lib/vagrant/util/platform.rb +43 -0
- data/lib/vagrant/util/ssh.rb +5 -0
- data/lib/vagrant/util/subprocess.rb +16 -2
- data/lib/vagrant/version.rb +1 -1
- data/plugins/commands/box/command/remove.rb +22 -2
- data/plugins/commands/box/command/repackage.rb +1 -1
- data/plugins/commands/destroy/command.rb +8 -3
- data/plugins/commands/help/command.rb +12 -0
- data/plugins/commands/help/plugin.rb +17 -0
- data/plugins/commands/plugin/action.rb +11 -0
- data/plugins/commands/plugin/action/install_gem.rb +26 -1
- data/plugins/commands/plugin/action/plugin_exists_check.rb +26 -0
- data/plugins/commands/plugin/command/install.rb +4 -21
- data/plugins/commands/plugin/command/mixin_install_opts.rb +30 -0
- data/plugins/commands/plugin/command/root.rb +5 -0
- data/plugins/commands/plugin/command/update.rb +41 -0
- data/plugins/commands/reload/command.rb +4 -0
- data/plugins/commands/status/command.rb +6 -1
- data/plugins/commands/up/command.rb +10 -0
- data/plugins/commands/up/start_mixins.rb +12 -1
- data/plugins/communicators/ssh/communicator.rb +61 -6
- data/plugins/guests/arch/cap/change_host_name.rb +1 -2
- data/plugins/guests/arch/cap/configure_networks.rb +6 -0
- data/plugins/guests/coreos/cap/change_host_name.rb +15 -0
- data/plugins/guests/coreos/cap/configure_networks.rb +72 -0
- data/plugins/guests/coreos/guest.rb +9 -0
- data/plugins/guests/coreos/plugin.rb +25 -0
- data/plugins/guests/darwin/cap/change_host_name.rb +14 -0
- data/plugins/guests/darwin/cap/configure_networks.rb +52 -0
- data/plugins/guests/darwin/cap/halt.rb +16 -0
- data/plugins/guests/darwin/cap/mount_nfs_folder.rb +25 -0
- data/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb +36 -0
- data/plugins/guests/darwin/cap/shell_expand_guest_path.rb +26 -0
- data/plugins/guests/darwin/cap/verify_vmware_hgfs.rb +12 -0
- data/plugins/guests/darwin/guest.rb +15 -0
- data/plugins/guests/darwin/plugin.rb +50 -0
- data/plugins/guests/debian/cap/change_host_name.rb +1 -0
- data/plugins/guests/gentoo/guest.rb +1 -1
- data/plugins/guests/linux/cap/mount_nfs.rb +9 -1
- data/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +26 -7
- data/plugins/guests/linux/cap/shell_expand_guest_path.rb +4 -1
- data/plugins/guests/openbsd/cap/change_host_name.rb +14 -0
- data/plugins/guests/openbsd/cap/configure_networks.rb +40 -0
- data/plugins/guests/openbsd/cap/mount_nfs_folder.rb +14 -0
- data/plugins/guests/openbsd/plugin.rb +15 -0
- data/plugins/guests/solaris/cap/halt.rb +2 -1
- data/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb +4 -1
- data/plugins/guests/solaris11/cap/change_host_name.rb +25 -0
- data/plugins/guests/solaris11/cap/configure_networks.rb +32 -0
- data/plugins/guests/solaris11/cap/halt.rb +26 -0
- data/plugins/guests/solaris11/cap/mount_virtualbox_shared_folder.rb +35 -0
- data/plugins/guests/solaris11/config.rb +22 -0
- data/plugins/guests/solaris11/guest.rb +15 -0
- data/plugins/guests/solaris11/plugin.rb +44 -0
- data/plugins/guests/suse/cap/configure_networks.rb +60 -0
- data/plugins/guests/suse/plugin.rb +5 -0
- data/plugins/guests/ubuntu/cap/change_host_name.rb +1 -0
- data/plugins/guests/ubuntu/cap/mount_nfs.rb +19 -0
- data/plugins/guests/ubuntu/cap/mount_virtualbox_shared_folder.rb +14 -0
- data/plugins/guests/ubuntu/guest.rb +0 -19
- data/plugins/guests/ubuntu/plugin.rb +10 -0
- data/plugins/hosts/arch/host.rb +5 -28
- data/plugins/hosts/bsd/host.rb +83 -7
- data/plugins/hosts/fedora/host.rb +12 -6
- data/plugins/hosts/gentoo/host.rb +3 -1
- data/plugins/hosts/linux/host.rb +42 -9
- data/plugins/hosts/opensuse/host.rb +3 -1
- data/plugins/hosts/slackware/host.rb +26 -0
- data/plugins/hosts/slackware/plugin.rb +15 -0
- data/plugins/kernel_v1/config/ssh.rb +2 -2
- data/plugins/kernel_v2/config/ssh.rb +8 -16
- data/plugins/kernel_v2/config/vm.rb +68 -11
- data/plugins/providers/virtualbox/action.rb +15 -2
- data/plugins/providers/virtualbox/action/boot.rb +0 -26
- data/plugins/providers/virtualbox/action/clear_network_interfaces.rb +1 -1
- data/plugins/providers/virtualbox/action/customize.rb +10 -3
- data/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +8 -1
- data/plugins/providers/virtualbox/action/forward_ports.rb +1 -0
- data/plugins/providers/virtualbox/action/import.rb +3 -0
- data/plugins/providers/virtualbox/action/network.rb +14 -2
- data/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +7 -2
- data/plugins/providers/virtualbox/action/set_name.rb +13 -1
- data/plugins/providers/virtualbox/config.rb +39 -2
- data/plugins/providers/virtualbox/driver/base.rb +5 -0
- data/plugins/providers/virtualbox/driver/meta.rb +7 -1
- data/plugins/providers/virtualbox/driver/version_4_0.rb +2 -2
- data/plugins/providers/virtualbox/driver/version_4_1.rb +2 -2
- data/plugins/providers/virtualbox/driver/version_4_2.rb +17 -0
- data/plugins/providers/virtualbox/model/forwarded_port.rb +7 -1
- data/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +5 -1
- data/plugins/provisioners/ansible/config.rb +40 -23
- data/plugins/provisioners/ansible/provisioner.rb +68 -13
- data/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb +1 -1
- data/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb +1 -1
- data/plugins/provisioners/cfengine/config.rb +7 -1
- data/plugins/provisioners/cfengine/provisioner.rb +4 -5
- data/plugins/provisioners/chef/config/base.rb +31 -0
- data/plugins/provisioners/chef/config/chef_client.rb +15 -6
- data/plugins/provisioners/chef/config/chef_solo.rb +18 -11
- data/plugins/provisioners/chef/provisioner/base.rb +23 -3
- data/plugins/provisioners/chef/provisioner/chef_client.rb +25 -6
- data/plugins/provisioners/chef/provisioner/chef_solo.rb +16 -13
- data/plugins/provisioners/file/config.rb +29 -0
- data/plugins/provisioners/file/plugin.rb +23 -0
- data/plugins/provisioners/file/provisioner.rb +16 -0
- data/plugins/provisioners/puppet/config/puppet.rb +4 -1
- data/plugins/provisioners/puppet/provisioner/puppet.rb +15 -9
- data/plugins/provisioners/puppet/provisioner/puppet_server.rb +9 -2
- data/plugins/provisioners/salt/bootstrap-salt.sh +6 -0
- data/plugins/provisioners/salt/config.rb +105 -0
- data/plugins/provisioners/salt/errors.rb +11 -0
- data/plugins/provisioners/salt/plugin.rb +22 -0
- data/plugins/provisioners/salt/provisioner.rb +249 -0
- data/plugins/provisioners/shell/config.rb +11 -2
- data/plugins/provisioners/shell/provisioner.rb +15 -3
- data/scripts/website_push_docs.sh +12 -0
- data/scripts/website_push_www.sh +12 -0
- data/templates/commands/init/Vagrantfile.erb +5 -2
- data/templates/commands/ssh_config/config.erb +4 -0
- data/templates/guests/coreos/etcd.service.erb +10 -0
- data/templates/guests/fedora/network_static.erb +2 -3
- data/templates/guests/openbsd/network_dhcp.erb +1 -0
- data/templates/guests/openbsd/network_static.erb +1 -0
- data/templates/guests/suse/network_dhcp.erb +6 -0
- data/templates/guests/suse/network_static.erb +10 -0
- data/templates/locales/en.yml +123 -13
- data/templates/nfs/exports.erb +4 -4
- data/templates/nfs/exports_freebsd.erb +4 -4
- data/templates/nfs/exports_linux.erb +5 -3
- data/templates/provisioners/chef_client/client.erb +9 -0
- data/templates/provisioners/chef_solo/solo.erb +19 -1
- data/test/unit/vagrant/action/builtin/graceful_halt_test.rb +1 -2
- data/test/unit/vagrant/cli_test.rb +1 -0
- data/test/unit/vagrant/config/v2/root_test.rb +18 -0
- data/test/unit/vagrant/environment_test.rb +25 -0
- data/test/unit/vagrant/util/downloader_test.rb +4 -4
- data/test/unit/vagrant_test.rb +18 -0
- data/website/docs/.buildpacks +2 -0
- data/website/docs/Gemfile +13 -0
- data/website/docs/Gemfile.lock +141 -0
- data/website/docs/Procfile +1 -0
- data/website/docs/README.md +26 -0
- data/website/docs/config.rb +78 -0
- data/website/docs/config.ru +44 -0
- data/website/docs/helpers/sidebar_helpers.rb +19 -0
- data/website/docs/lib/redirect_to_latest.rb +25 -0
- data/website/docs/lib/redirect_v1_docs.rb +26 -0
- data/website/docs/source/404.html.erb +7 -0
- data/website/docs/source/images/bullet_1.png +0 -0
- data/website/docs/source/images/bullet_2.png +0 -0
- data/website/docs/source/images/bullet_3.png +0 -0
- data/website/docs/source/images/customers.png +0 -0
- data/website/docs/source/images/customers_small.png +0 -0
- data/website/docs/source/images/footer_background.png +0 -0
- data/website/docs/source/images/footer_hashi_logo.png +0 -0
- data/website/docs/source/images/footer_vagrant_logo.png +0 -0
- data/website/docs/source/images/get_started_background.png +0 -0
- data/website/docs/source/images/icon_caution.png +0 -0
- data/website/docs/source/images/logo_docs.png +0 -0
- data/website/docs/source/images/logo_docs_small.png +0 -0
- data/website/docs/source/images/logo_small.png +0 -0
- data/website/docs/source/images/logo_vagrant.png +0 -0
- data/website/docs/source/images/open_close.png +0 -0
- data/website/docs/source/images/search_icon.png +0 -0
- data/website/docs/source/images/sidebar_background_docs.png +0 -0
- data/website/docs/source/images/sidebar_background_inner.png +0 -0
- data/website/docs/source/images/steps_background.png +0 -0
- data/website/docs/source/images/vagrant_header_background.png +0 -0
- data/website/docs/source/index.html.erb +0 -0
- data/website/docs/source/javascripts/backstretch.js +4 -0
- data/website/docs/source/javascripts/bootstrap.min.js +7 -0
- data/website/docs/source/javascripts/fittext.js +43 -0
- data/website/docs/source/javascripts/grid-overlay.js +161 -0
- data/website/docs/source/javascripts/jquery.js +2 -0
- data/website/docs/source/javascripts/less-1.3.0.min.js +9 -0
- data/website/docs/source/javascripts/modernizr.js +1384 -0
- data/website/docs/source/javascripts/vagrantup.js +15 -0
- data/website/docs/source/layouts/layout.erb +266 -0
- data/website/docs/source/stylesheets/_base.less +317 -0
- data/website/docs/source/stylesheets/_components.less +74 -0
- data/website/docs/source/stylesheets/_footer.less +101 -0
- data/website/docs/source/stylesheets/_media-queries.less +452 -0
- data/website/docs/source/stylesheets/_mixins.less +174 -0
- data/website/docs/source/stylesheets/_nav.less +71 -0
- data/website/docs/source/stylesheets/_pages.less +276 -0
- data/website/docs/source/stylesheets/_sidebar.less +136 -0
- data/website/docs/source/stylesheets/_type.less +36 -0
- data/website/docs/source/stylesheets/_variables.less +39 -0
- data/website/docs/source/stylesheets/bootstrap.css +5946 -0
- data/website/docs/source/stylesheets/vagrantup.less +16 -0
- data/website/docs/source/v2/boxes.html.md +78 -0
- data/website/docs/source/v2/boxes/format.html.md +32 -0
- data/website/docs/source/v2/cli/box.html.md +62 -0
- data/website/docs/source/v2/cli/destroy.html.md +20 -0
- data/website/docs/source/v2/cli/halt.html.md +19 -0
- data/website/docs/source/v2/cli/index.html.md +24 -0
- data/website/docs/source/v2/cli/init.html.md +18 -0
- data/website/docs/source/v2/cli/package.html.md +43 -0
- data/website/docs/source/v2/cli/plugin.html.md +56 -0
- data/website/docs/source/v2/cli/provision.html.md +24 -0
- data/website/docs/source/v2/cli/reload.html.md +27 -0
- data/website/docs/source/v2/cli/resume.html.md +11 -0
- data/website/docs/source/v2/cli/ssh.html.md +24 -0
- data/website/docs/source/v2/cli/ssh_config.html.md +16 -0
- data/website/docs/source/v2/cli/status.html.md +14 -0
- data/website/docs/source/v2/cli/suspend.html.md +19 -0
- data/website/docs/source/v2/cli/up.html.md +34 -0
- data/website/docs/source/v2/debugging.html.md +42 -0
- data/website/docs/source/v2/getting-started/boxes.html.md +56 -0
- data/website/docs/source/v2/getting-started/index.html.md +43 -0
- data/website/docs/source/v2/getting-started/networking.html.md +45 -0
- data/website/docs/source/v2/getting-started/project_setup.html.md +38 -0
- data/website/docs/source/v2/getting-started/providers.html.md +37 -0
- data/website/docs/source/v2/getting-started/provisioning.html.md +75 -0
- data/website/docs/source/v2/getting-started/rebuild.html.md +17 -0
- data/website/docs/source/v2/getting-started/synced_folders.html.md +42 -0
- data/website/docs/source/v2/getting-started/teardown.html.md +41 -0
- data/website/docs/source/v2/getting-started/up.html.md +35 -0
- data/website/docs/source/v2/index.html.md +10 -0
- data/website/docs/source/v2/installation/backwards-compatibility.html.md +35 -0
- data/website/docs/source/v2/installation/index.html.md +28 -0
- data/website/docs/source/v2/installation/uninstallation.html.md +39 -0
- data/website/docs/source/v2/installation/upgrading-from-1-0.html.md +26 -0
- data/website/docs/source/v2/installation/upgrading.html.md +20 -0
- data/website/docs/source/v2/multi-machine/index.html.md +105 -0
- data/website/docs/source/v2/networking/basic_usage.html.md +43 -0
- data/website/docs/source/v2/networking/forwarded_ports.html.md +57 -0
- data/website/docs/source/v2/networking/index.html.md +40 -0
- data/website/docs/source/v2/networking/private_network.html.md +48 -0
- data/website/docs/source/v2/networking/public_network.html.md +53 -0
- data/website/docs/source/v2/plugins/commands.html.md +116 -0
- data/website/docs/source/v2/plugins/configuration.html.md +166 -0
- data/website/docs/source/v2/plugins/development-basics.html.md +139 -0
- data/website/docs/source/v2/plugins/guest-capabilities.html.md +100 -0
- data/website/docs/source/v2/plugins/guests.html.md +99 -0
- data/website/docs/source/v2/plugins/hosts.html.md +46 -0
- data/website/docs/source/v2/plugins/index.html.md +21 -0
- data/website/docs/source/v2/plugins/packaging.html.md +102 -0
- data/website/docs/source/v2/plugins/providers.html.md +234 -0
- data/website/docs/source/v2/plugins/provisioners.html.md +64 -0
- data/website/docs/source/v2/plugins/usage.html.md +58 -0
- data/website/docs/source/v2/providers/basic_usage.html.md +67 -0
- data/website/docs/source/v2/providers/configuration.html.md +89 -0
- data/website/docs/source/v2/providers/custom.html.md +9 -0
- data/website/docs/source/v2/providers/default.html.md +22 -0
- data/website/docs/source/v2/providers/index.html.md +23 -0
- data/website/docs/source/v2/providers/installation.html.md +11 -0
- data/website/docs/source/v2/provisioning/ansible.html.md +144 -0
- data/website/docs/source/v2/provisioning/basic_usage.html.md +67 -0
- data/website/docs/source/v2/provisioning/chef_client.html.md +109 -0
- data/website/docs/source/v2/provisioning/chef_solo.html.md +156 -0
- data/website/docs/source/v2/provisioning/index.html.md +28 -0
- data/website/docs/source/v2/provisioning/puppet_agent.html.md +70 -0
- data/website/docs/source/v2/provisioning/puppet_apply.html.md +114 -0
- data/website/docs/source/v2/provisioning/shell.html.md +88 -0
- data/website/docs/source/v2/synced-folders/basic_usage.html.md +53 -0
- data/website/docs/source/v2/synced-folders/index.html.md +17 -0
- data/website/docs/source/v2/synced-folders/nfs.html.md +53 -0
- data/website/docs/source/v2/vagrantfile/index.html.md +75 -0
- data/website/docs/source/v2/vagrantfile/machine_settings.html.md +84 -0
- data/website/docs/source/v2/vagrantfile/ssh_settings.html.md +61 -0
- data/website/docs/source/v2/vagrantfile/vagrant_settings.html.md +19 -0
- data/website/docs/source/v2/vagrantfile/version.html.md +64 -0
- data/website/docs/source/v2/virtualbox/boxes.html.md +71 -0
- data/website/docs/source/v2/virtualbox/configuration.html.md +63 -0
- data/website/docs/source/v2/virtualbox/index.html.md +21 -0
- data/website/docs/source/v2/virtualbox/usage.html.md +12 -0
- data/website/docs/source/v2/vmware/boxes.html.md +107 -0
- data/website/docs/source/v2/vmware/configuration.html.md +91 -0
- data/website/docs/source/v2/vmware/index.html.md +30 -0
- data/website/docs/source/v2/vmware/installation.html.md +40 -0
- data/website/docs/source/v2/vmware/known-issues.html.md +21 -0
- data/website/docs/source/v2/vmware/usage.html.md +27 -0
- data/website/docs/source/v2/why-vagrant/index.html.md +46 -0
- data/website/www/.buildpacks +2 -0
- data/website/www/Gemfile +15 -0
- data/website/www/Gemfile.lock +123 -0
- data/website/www/Procfile +1 -0
- data/website/www/README.md +26 -0
- data/website/www/config.rb +88 -0
- data/website/www/config.ru +39 -0
- data/website/www/helpers/sidebar_helpers.rb +12 -0
- data/website/www/lib/legacy_redirect.rb +32 -0
- data/website/www/source/404.html.erb +11 -0
- data/website/www/source/_sidebar_about.erb +5 -0
- data/website/www/source/_sidebar_blog.erb +11 -0
- data/website/www/source/_sidebar_support.html.erb +6 -0
- data/website/www/source/about.html.markdown +16 -0
- data/website/www/source/blog.html.erb +34 -0
- data/website/www/source/blog/2013-09-16-test.html.markdown +26 -0
- data/website/www/source/blog_feed.xml.builder +23 -0
- data/website/www/source/images/bullet_1.png +0 -0
- data/website/www/source/images/bullet_2.png +0 -0
- data/website/www/source/images/bullet_3.png +0 -0
- data/website/www/source/images/customers.png +0 -0
- data/website/www/source/images/customers_small.png +0 -0
- data/website/www/source/images/footer_background.png +0 -0
- data/website/www/source/images/footer_hashi_logo.png +0 -0
- data/website/www/source/images/footer_vagrant_logo.png +0 -0
- data/website/www/source/images/get_started_background.png +0 -0
- data/website/www/source/images/icon_caution.png +0 -0
- data/website/www/source/images/logo_docs.png +0 -0
- data/website/www/source/images/logo_docs_small.png +0 -0
- data/website/www/source/images/logo_small.png +0 -0
- data/website/www/source/images/logo_vagrant.png +0 -0
- data/website/www/source/images/open_close.png +0 -0
- data/website/www/source/images/search_icon.png +0 -0
- data/website/www/source/images/sidebar_background_docs.png +0 -0
- data/website/www/source/images/sidebar_background_inner.png +0 -0
- data/website/www/source/images/sponsors/fastly.png +0 -0
- data/website/www/source/images/sponsors/kiip.png +0 -0
- data/website/www/source/images/sponsors/softlayer.jpg +0 -0
- data/website/www/source/images/sponsors/typekit.png +0 -0
- data/website/www/source/images/steps_background.png +0 -0
- data/website/www/source/images/vagrant_header_background.png +0 -0
- data/website/www/source/images/vagrant_vmware_background.png +0 -0
- data/website/www/source/index.html.erb +109 -0
- data/website/www/source/javascripts/backstretch.js +4 -0
- data/website/www/source/javascripts/bootstrap.min.js +7 -0
- data/website/www/source/javascripts/fittext.js +43 -0
- data/website/www/source/javascripts/grid-overlay.js +161 -0
- data/website/www/source/javascripts/jquery.js +2 -0
- data/website/www/source/javascripts/less-1.3.0.min.js +9 -0
- data/website/www/source/javascripts/modernizr.js +1384 -0
- data/website/www/source/javascripts/vagrantup.js +58 -0
- data/website/www/source/layouts/blog_post.erb +42 -0
- data/website/www/source/layouts/inner.erb +34 -0
- data/website/www/source/layouts/layout.erb +107 -0
- data/website/www/source/sponsors.html.erb +23 -0
- data/website/www/source/stylesheets/_base.less +326 -0
- data/website/www/source/stylesheets/_components.less +74 -0
- data/website/www/source/stylesheets/_footer.less +101 -0
- data/website/www/source/stylesheets/_media-queries.less +549 -0
- data/website/www/source/stylesheets/_mixins.less +175 -0
- data/website/www/source/stylesheets/_modules.less +37 -0
- data/website/www/source/stylesheets/_nav.less +74 -0
- data/website/www/source/stylesheets/_pages.less +467 -0
- data/website/www/source/stylesheets/_sidebar.less +137 -0
- data/website/www/source/stylesheets/_type.less +36 -0
- data/website/www/source/stylesheets/_variables.less +39 -0
- data/website/www/source/stylesheets/bootstrap.css +5946 -0
- data/website/www/source/stylesheets/vagrantup.less +17 -0
- data/website/www/source/support.html.erb +25 -0
- data/website/www/source/support/community.html.erb +28 -0
- data/website/www/source/support/professional.html.erb +17 -0
- data/website/www/source/vmware/eula.html.md +21 -0
- data/website/www/source/vmware/index.html.erb +185 -0
- data/website/www/source/vmware/privacy-policy.html.md +71 -0
- data/website/www/source/vmware/terms-of-service.html.md +50 -0
- metadata +436 -186
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
/|\/|\/|\/|\/|\/|\
|
3
|
+
v a g r a n t u p
|
4
|
+
\|/\|/\|/\|/\|/\|/
|
5
|
+
*/
|
6
|
+
|
7
|
+
@import '_variables';
|
8
|
+
@import '_type';
|
9
|
+
@import '_mixins';
|
10
|
+
@import '_base';
|
11
|
+
@import '_nav';
|
12
|
+
@import '_components';
|
13
|
+
@import '_sidebar';
|
14
|
+
@import '_pages';
|
15
|
+
@import '_footer';
|
16
|
+
@import '_media-queries';
|
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Boxes"
|
3
|
+
sidebar_current: "boxes"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Boxes
|
7
|
+
|
8
|
+
Boxes are the skeleton from which Vagrant machines are constructed. They are
|
9
|
+
portable files which can be used by others on any platform that runs Vagrant
|
10
|
+
to bring up a working environment.
|
11
|
+
|
12
|
+
The `vagrant box` utility provides all the functionality for managing
|
13
|
+
boxes. Boxes must currently be created manually.
|
14
|
+
|
15
|
+
Boxes are [provider-specific](/v2/providers/index.html), so you must obtain
|
16
|
+
the proper box depending on what provider you're using.
|
17
|
+
|
18
|
+
If you're interested in more details on the exact file format of
|
19
|
+
boxes, there is a separate [page dedicated to that](/v2/boxes/format.html), since
|
20
|
+
it is an advanced topic that general users don't need to know.
|
21
|
+
|
22
|
+
## Adding Boxes
|
23
|
+
|
24
|
+
Adding boxes is straightforward:
|
25
|
+
|
26
|
+
```
|
27
|
+
$ vagrant box add name url
|
28
|
+
```
|
29
|
+
|
30
|
+
`name` is a logical name by which the box is referenced from the
|
31
|
+
Vagrantfile. You can put anything you want here, but know that Vagrant
|
32
|
+
matches the `config.vm.box` directive with this name in order to look up
|
33
|
+
the box to use.
|
34
|
+
|
35
|
+
`url` is the location of the box. This can be a path to your local filesystem
|
36
|
+
or an HTTP URL to the box remotely.
|
37
|
+
|
38
|
+
Vagrant will automatically determine the provider the box was built
|
39
|
+
for by reading the "metadata.json" file within the box archive. You
|
40
|
+
may also tell Vagrant what provider the box is for by specifying the
|
41
|
+
`--provider` flag.
|
42
|
+
|
43
|
+
This is recommended as it adds an extra level of verification
|
44
|
+
to the box you're downloading. Additionally, Vagrant can exit early with
|
45
|
+
an error if a box with that name and provider already exists, whereas
|
46
|
+
it must download the entire box before showing such an error in the other
|
47
|
+
case.
|
48
|
+
|
49
|
+
Multiple boxes with the same name can exist as long as they are all
|
50
|
+
for different providers. The example of listing boxes below shows this,
|
51
|
+
where there are multiple precise64 boxes, backed by different providers.
|
52
|
+
This lets a single `config.vm.box` configuration within a Vagrantfile
|
53
|
+
properly reference boxes across providers.
|
54
|
+
|
55
|
+
## Listing Boxes
|
56
|
+
|
57
|
+
To view what boxes Vagrant has locally installed, use `vagrant box list`:
|
58
|
+
|
59
|
+
```
|
60
|
+
$ vagrant box list
|
61
|
+
precise64 (virtualbox)
|
62
|
+
precise64 (vmware_fusion)
|
63
|
+
```
|
64
|
+
|
65
|
+
Vagrant lists all boxes along with the providers the box is for in parentheses.
|
66
|
+
|
67
|
+
## Removing Boxes
|
68
|
+
|
69
|
+
Boxes can be removed just as easily as they are added:
|
70
|
+
|
71
|
+
```
|
72
|
+
$ vagrant box remove precise64 virtualbox
|
73
|
+
```
|
74
|
+
|
75
|
+
The two arguments are the logical name of the box and the provider of the
|
76
|
+
box. The second argument (the provider) is optional. If you have only a single
|
77
|
+
provider backing that box, it doesn't need to be specified. If you have multiple
|
78
|
+
providers backing a box and it isn't specified, Vagrant will show an error.
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Box File Format"
|
3
|
+
sidebar_current: "boxes-format"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Box File Format
|
7
|
+
|
8
|
+
In the past, boxes were just [tar files](http://en.wikipedia.org/wiki/Tar_\(computing\))
|
9
|
+
of VirtualBox exports. With Vagrant supporting multiple providers, box files
|
10
|
+
are now tar files where the contents differ for each provider. They are
|
11
|
+
still tar files, but they may now optionally be [gzipped](http://en.wikipedia.org/wiki/Gzip)
|
12
|
+
as well.
|
13
|
+
|
14
|
+
Box files made for Vagrant 1.0.x and VirtualBox continue to work with
|
15
|
+
Vagrant 1.1+ and the VirtualBox provider.
|
16
|
+
|
17
|
+
The only file required within a box is a "metadata.json" file. This is
|
18
|
+
a [JSON](http://www.json.org/) file that has a top-level object that
|
19
|
+
can contain any metadata about the box. Vagrant requires that a "provider"
|
20
|
+
key exists in this metadata with the name of the provider the box is made
|
21
|
+
for.
|
22
|
+
|
23
|
+
The "metadata.json" file for a VirtualBox box:
|
24
|
+
|
25
|
+
```json
|
26
|
+
{
|
27
|
+
"provider": "virtualbox"
|
28
|
+
}
|
29
|
+
```
|
30
|
+
|
31
|
+
If there is no metadata.json file or the file does not contain valid JSON
|
32
|
+
with at least a "provider" key, then Vagrant will error when adding the box.
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant box - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-box"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Box
|
7
|
+
|
8
|
+
**Command: `vagrant box`**
|
9
|
+
|
10
|
+
This is the command used to manage (add, remove, etc.) [boxes](/v2/boxes.html).
|
11
|
+
|
12
|
+
The main functionality of this command is exposed via even more subcommands:
|
13
|
+
|
14
|
+
* `add`
|
15
|
+
* `list`
|
16
|
+
* `remove`
|
17
|
+
* `repackage`
|
18
|
+
|
19
|
+
# Box Add
|
20
|
+
|
21
|
+
**Command: `vagrant box add NAME URL`**
|
22
|
+
|
23
|
+
This adds a box at the given URL to Vagrant and stores it under the
|
24
|
+
logical name `NAME`.
|
25
|
+
|
26
|
+
The URL may be a file path or an HTTP URL. For HTTP, basic authentication
|
27
|
+
is supported and `http_proxy` environmental variables are respected. HTTPS
|
28
|
+
is also supported.
|
29
|
+
|
30
|
+
The name argument of this command is a _logical name_, meaning you can
|
31
|
+
effectively choose whatever you want. This is the name that Vagrant searches
|
32
|
+
for to match with the `config.vm.box` setting in Vagrantfiles.
|
33
|
+
|
34
|
+
## Options
|
35
|
+
|
36
|
+
* `--provider PROVIDER` - If given, Vagrant will verify the box you're
|
37
|
+
adding is for the given provider. By default, Vagrant automatically
|
38
|
+
detects the proper provider to use.
|
39
|
+
|
40
|
+
# Box List
|
41
|
+
|
42
|
+
**Command: `vagrant box list`**
|
43
|
+
|
44
|
+
This command lists all the boxes that are installed into Vagrant.
|
45
|
+
|
46
|
+
# Box Remove
|
47
|
+
|
48
|
+
**Command: `vagrant box remove NAME PROVIDER`**
|
49
|
+
|
50
|
+
This command removes a box from Vagrant that matches the given name and
|
51
|
+
provider.
|
52
|
+
|
53
|
+
# Box Repackage
|
54
|
+
|
55
|
+
**Command: `vagrant box repackage NAME PROVIDER`**
|
56
|
+
|
57
|
+
This command repackages the given box and puts it in the current
|
58
|
+
directory so you can redistribute it.
|
59
|
+
|
60
|
+
When you add a box, Vagrant unpacks it and stores it internally. The
|
61
|
+
original `*.box` file is not preserved. This command is useful for
|
62
|
+
reclaiming a `*.box` file from an installed Vagrant box.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant destroy - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-destroy"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Destroy
|
7
|
+
|
8
|
+
**Command: `vagrant destroy`**
|
9
|
+
|
10
|
+
This command stops the running machine Vagrant is managing and
|
11
|
+
destroys all resources that were created during the machine creation process.
|
12
|
+
After running this command, your computer should be left at a clean state,
|
13
|
+
as if you never created the guest machine in the first place.
|
14
|
+
|
15
|
+
This command usually asks for confirmation before destroying. This
|
16
|
+
confirmation can be skipped by passing in the `-f` or `--force` flag.
|
17
|
+
|
18
|
+
## Options
|
19
|
+
|
20
|
+
* `-f` or `--force` - Don't ask for confirmation before destroying.
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant halt - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-halt"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Halt
|
7
|
+
|
8
|
+
**Command: `vagrant halt`**
|
9
|
+
|
10
|
+
This command shuts down the running machine Vagrant is managing.
|
11
|
+
|
12
|
+
Vagrant will first attempt to gracefully shut down the machine by running
|
13
|
+
the guest OS shutdown mechanism. If this fails, or if the `--force` flag is
|
14
|
+
specified, Vagrant will effectively just shut off power to the machine.
|
15
|
+
|
16
|
+
## Options
|
17
|
+
|
18
|
+
* `-f` or `--force` - Don't attempt to gracefully shut down the machine.
|
19
|
+
This effectively pulls the power on the guest machine.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Command-Line Interface"
|
3
|
+
sidebar_current: "cli"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Command-Line Interface
|
7
|
+
|
8
|
+
Almost all interaction with Vagrant is done through the command-line
|
9
|
+
interface.
|
10
|
+
|
11
|
+
The interface is available using the `vagrant` command, and comes installed
|
12
|
+
with Vagrant automatically. The `vagrant` command in turn has many subcommands,
|
13
|
+
such as `vagrant up`, `vagrant destroy`, etc.
|
14
|
+
|
15
|
+
If you run `vagrant` by itself, help will be displayed showing all available
|
16
|
+
subcommands. In addition to this, you can run any Vagrant command with the
|
17
|
+
`-h` flag to output help about that specific command. For example, try
|
18
|
+
running `vagrant init -h`. The help will output a one sentence synopsis of
|
19
|
+
what the command does as well as a list of all the flags the command
|
20
|
+
accepts.
|
21
|
+
|
22
|
+
In depth documentation and use cases of various Vagrant commands is
|
23
|
+
available by reading the appropriate sub-section available in the left
|
24
|
+
navigational area of this site.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant init - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-init"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Init
|
7
|
+
|
8
|
+
**Command: `vagrant init [box-name] [box-url]`**
|
9
|
+
|
10
|
+
This initializes the current directory to be a Vagrant environment
|
11
|
+
by creating an initial [Vagrantfile](/v2/vagrantfile/index.html) if
|
12
|
+
one doesn't already exist.
|
13
|
+
|
14
|
+
If a first argument is given, it will prepopulate the `config.vm.box`
|
15
|
+
setting in the created Vagrantfile.
|
16
|
+
|
17
|
+
If a second argument is given, it will prepopulate the `config.vm.box_url`
|
18
|
+
setting in the created Vagrantfile.
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant package - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-package"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Package
|
7
|
+
|
8
|
+
**Command: `vagrant package`**
|
9
|
+
|
10
|
+
This packages a currently running _VirtualBox_ environment into a
|
11
|
+
re-usable [box](/v2/boxes.html). This command cannot be used with
|
12
|
+
any other [provider](/v2/providers/index.html). A future version of Vagrant
|
13
|
+
will address packaging boxes for other providers. Until then, they must
|
14
|
+
be made by hand.
|
15
|
+
|
16
|
+
## Options
|
17
|
+
|
18
|
+
* `--base NAME` - Instead of packaging a VirtualBox machine that Vagrant
|
19
|
+
manages, this will package a VirtualBox machine that VirtualBox manages.
|
20
|
+
`NAME` should be the name or UUID of the machine from the VirtualBox GUI.
|
21
|
+
|
22
|
+
* `--output NAME` - The resulting package will be saved as `NAME`. By default,
|
23
|
+
it will be saved as `package.box`.
|
24
|
+
|
25
|
+
* `--include x,y,z` - Additional files will be packaged with the box. These
|
26
|
+
can be used by a packaged Vagrantfile (documented below) to perform additional
|
27
|
+
tasks.
|
28
|
+
|
29
|
+
* `--vagrantfile FILE` - Packages a Vagrantfile with the box, that is loaded
|
30
|
+
as part of the [Vagrantfile load order](/v2/vagrantfile/index.html#load-order)
|
31
|
+
when the resulting box is used.
|
32
|
+
|
33
|
+
<div class="alert alert-info">
|
34
|
+
<p>
|
35
|
+
<strong>A common misconception</strong> is that the <code>--vagrantfile</code>
|
36
|
+
option will package a Vagrantfile that is used when <code>vagrant init</code>
|
37
|
+
is used with this box. This is not the case. Instead, a Vagrantfile
|
38
|
+
is loaded and read as part of the Vagrant load process when the box is
|
39
|
+
used. For more information, read about the
|
40
|
+
<a href="/v2/vagrantfile/index.html#load-order">Vagrantfile load order</a>.
|
41
|
+
</p>
|
42
|
+
</div>
|
43
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant plugin - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-plugin"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Plugin
|
7
|
+
|
8
|
+
**Command: `vagrant plugin`**
|
9
|
+
|
10
|
+
This is the command used to manage [plugins](/v2/plugins/index.html).
|
11
|
+
|
12
|
+
The main functionality of this command is exposed via another level
|
13
|
+
of subcommands:
|
14
|
+
|
15
|
+
* `install`
|
16
|
+
* `license`
|
17
|
+
* `list`
|
18
|
+
* `uninstall`
|
19
|
+
* `update`
|
20
|
+
|
21
|
+
# Plugin Install
|
22
|
+
|
23
|
+
**Command: `vagrant plugin install <name>`**
|
24
|
+
|
25
|
+
This installs a plugin with the given name or file path. If the name
|
26
|
+
is not a path to a file, then the plugin is installed from remote
|
27
|
+
repositories, usually [RubyGems](http://rubygems.org). This command will
|
28
|
+
also update a plugin if it is already installed, but you can also use
|
29
|
+
`vagrant plugin update` for that.
|
30
|
+
|
31
|
+
# Plugin License
|
32
|
+
|
33
|
+
**Command: `vagrant plugin license <name> <license-file>`**
|
34
|
+
|
35
|
+
This command installs a license for a proprietary Vagrant plugin,
|
36
|
+
such as the [VMware Fusion provider](/v2/vmware/index.html).
|
37
|
+
|
38
|
+
# Plugin List
|
39
|
+
|
40
|
+
**Command: `vagrant plugin list`**
|
41
|
+
|
42
|
+
This lists all installed plugins and their respective versions.
|
43
|
+
|
44
|
+
# Plugin Uninstall
|
45
|
+
|
46
|
+
**Command: `vagrant plugin uninstall <name>`**
|
47
|
+
|
48
|
+
This uninstalls the plugin with the given name. Any dependencies of the
|
49
|
+
plugin will also be uninstalled assuming no other plugin needs them.
|
50
|
+
|
51
|
+
# Plugin Update
|
52
|
+
|
53
|
+
**Command: `vagrant plugin update <name>`**
|
54
|
+
|
55
|
+
This updates the plugin with the given name. If the plugin isn't already
|
56
|
+
installed, this will not install it.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant provision - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-provision"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Provision
|
7
|
+
|
8
|
+
**Command: `vagrant provision`**
|
9
|
+
|
10
|
+
Runs any configured [provisioners](/v2/provisioning/index.html)
|
11
|
+
against the running Vagrant managed machine.
|
12
|
+
|
13
|
+
This command is a great way to quickly test any provisioners, and is especially
|
14
|
+
useful for incremental development of shell scripts, Chef cookbooks, or Puppet
|
15
|
+
modules. You can just make simple modifications to the provisioning scripts
|
16
|
+
on your machine, run a `vagrant provision`, and check for the desired results.
|
17
|
+
Rinse and repeat.
|
18
|
+
|
19
|
+
# Options
|
20
|
+
|
21
|
+
* `--provision-with x,y,z` - This will only run the given provisioners. For
|
22
|
+
example, if you have a `:shell` and `:chef_solo` provisioner and run
|
23
|
+
`vagrant provision --provision-with shell`, only the shell provisioner will
|
24
|
+
be run.
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant reload - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-reload"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Reload
|
7
|
+
|
8
|
+
**Command: `vagrant reload`**
|
9
|
+
|
10
|
+
The equivalent of running a [halt](/v2/cli/halt.html) followed by an
|
11
|
+
[up](/v2/cli/up.html).
|
12
|
+
|
13
|
+
This command is usually required for changes made in the Vagrantfile to
|
14
|
+
take effect. After making any modifications to the Vagrantfile, a `reload`
|
15
|
+
should be called.
|
16
|
+
|
17
|
+
The configured provisioners will not run again, by default. You can force
|
18
|
+
the provisioners to re-run by specifying the `--provision` flag.
|
19
|
+
|
20
|
+
# Options
|
21
|
+
|
22
|
+
* `--provision` - Force the provisioners to run.
|
23
|
+
|
24
|
+
* `--provision-with x,y,z` - This will only run the given provisioners. For
|
25
|
+
example, if you have a `:shell` and `:chef_solo` provisioner and run
|
26
|
+
`vagrant provision --provision-with shell`, only the shell provisioner will
|
27
|
+
be run.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
page_title: "vagrant resume - Command-Line Interface"
|
3
|
+
sidebar_current: "cli-resume"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Resume
|
7
|
+
|
8
|
+
**Command: `vagrant resume`**
|
9
|
+
|
10
|
+
This resumes a Vagrant managed machine that was previously suspended,
|
11
|
+
perhaps with the [suspend command](/v2/cli/suspend.html).
|