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,84 @@
|
|
1
|
+
---
|
2
|
+
page_title: "config.vm - Vagrantfile"
|
3
|
+
sidebar_current: "vagrantfile-machine"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Machine Settings
|
7
|
+
|
8
|
+
**Config namespace: `config.vm`**
|
9
|
+
|
10
|
+
The settings within `config.vm` modify the configuration of the
|
11
|
+
machine that Vagrant manages.
|
12
|
+
|
13
|
+
## Available Settings
|
14
|
+
|
15
|
+
`config.vm.boot_timeout` - The time in seconds that Vagrant will wait
|
16
|
+
for the machine to boot and be accessible. By default this is 300 seconds.
|
17
|
+
|
18
|
+
<hr>
|
19
|
+
|
20
|
+
`config.vm.box` - This configures what [box](/v2/boxes/index.html) the
|
21
|
+
machine will be brought up against. The value here should match one of
|
22
|
+
the installed boxes on the system.
|
23
|
+
|
24
|
+
<hr>
|
25
|
+
|
26
|
+
`config.vm.box_url` - The URL that the configured box can be found at.
|
27
|
+
If the box is not installed on the system, it will be retrieved from this
|
28
|
+
URL when `vagrant up` is run.
|
29
|
+
|
30
|
+
<hr>
|
31
|
+
|
32
|
+
`config.vm.graceful_halt_timeout` - The time in seconds that Vagrant will
|
33
|
+
wait for the machine to gracefully halt when `vagrant halt` is called.
|
34
|
+
Defaults to 300 seconds.
|
35
|
+
|
36
|
+
<hr>
|
37
|
+
|
38
|
+
`config.vm.guest` - The guest OS that will be running within this
|
39
|
+
machine. This defaults to `:linux`, and Vagrant will auto-detect the
|
40
|
+
proper distro. Vagrant needs to know this information to perform some
|
41
|
+
guest OS-specific things such as mounting folders and configuring
|
42
|
+
networks.
|
43
|
+
|
44
|
+
<hr>
|
45
|
+
|
46
|
+
`config.vm.hostname` - The hostname the machine should have. Defaults
|
47
|
+
to nil. If nil, Vagrant won't manage the hostname. If set to a string,
|
48
|
+
the hostname will be set on boot.
|
49
|
+
|
50
|
+
<hr>
|
51
|
+
|
52
|
+
`config.vm.network` - Configures [networks](/v2/networking/index.html) on
|
53
|
+
the machine. Please see the networking page for more information.
|
54
|
+
|
55
|
+
<hr>
|
56
|
+
|
57
|
+
`config.vm.provider` - Configures [provider-specific configuration](/v2/providers/configuration.html),
|
58
|
+
which is used to modify settings which are specific to a certain
|
59
|
+
[provider](/v2/providers/index.html). If the provider you're configuring
|
60
|
+
doesn't exist or is not setup on the system of the person who runs
|
61
|
+
`vagrant up`, Vagrant will ignore this configuration block. This allows
|
62
|
+
a Vagrantfile that is configured for many providers to be shared among
|
63
|
+
a group of people who may not have all the same providers installed.
|
64
|
+
|
65
|
+
<hr>
|
66
|
+
|
67
|
+
`config.vm.provision` - Configures [provisioners](/v2/provisioning/index.html)
|
68
|
+
on the machine, so that software can be automatically installed and configured
|
69
|
+
when the machine is created. Please see the page on provisioners for more
|
70
|
+
information on how this setting works.
|
71
|
+
|
72
|
+
<hr>
|
73
|
+
|
74
|
+
`config.vm.synced_folder` - Configures [synced folders](/v2/synced-folders/index.html)
|
75
|
+
on the machine, so that folders on your host machine can be synced to
|
76
|
+
and from the guest machine. Please see the page on synced folders for
|
77
|
+
more information on how this setting works.
|
78
|
+
|
79
|
+
<hr>
|
80
|
+
|
81
|
+
`config.vm.usable_port_range` - A range of ports Vagrant can use for
|
82
|
+
handling port collisions and such. Defaults to `2200..2250`.
|
83
|
+
|
84
|
+
<hr>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
page_title: "config.ssh - Vagrantfile"
|
3
|
+
sidebar_current: "vagrantfile-ssh"
|
4
|
+
---
|
5
|
+
|
6
|
+
# SSH Settings
|
7
|
+
|
8
|
+
**Config namespace: `config.ssh`**
|
9
|
+
|
10
|
+
The settings within `config.ssh` relate to configuring how Vagrant
|
11
|
+
will access your machine over SSH. As with most Vagrant settings, the
|
12
|
+
defaults are typically fine, but you can fine tune whatever you'd like.
|
13
|
+
|
14
|
+
## Available Settings
|
15
|
+
|
16
|
+
`config.ssh.username` - This sets the username that Vagrant will SSH
|
17
|
+
as by default. Providers are free to override this if they detect a more
|
18
|
+
appropriate user. By default this is "vagrant," since that is what most
|
19
|
+
public boxes are made as.
|
20
|
+
|
21
|
+
<hr>
|
22
|
+
|
23
|
+
`config.ssh.host` - The hostname or IP to SSH into. By default this is
|
24
|
+
empty, because the provider usually figures this out for you.
|
25
|
+
|
26
|
+
<hr>
|
27
|
+
|
28
|
+
`config.ssh.port` - The port to SSH into. By default this is port 22.
|
29
|
+
|
30
|
+
<hr>
|
31
|
+
|
32
|
+
`config.ssh.guest_port` - The port on the guest that SSH is running on. This
|
33
|
+
is used by some providers to detect forwarded ports for SSH. For example, if
|
34
|
+
this is set to 22 (the default), and Vagrant detects a forwarded port to
|
35
|
+
port 22 on the guest from port 4567 on the host, Vagrant will attempt
|
36
|
+
to use port 4567 to talk to the guest if there is no other option.
|
37
|
+
|
38
|
+
<hr>
|
39
|
+
|
40
|
+
`config.ssh.private_key_path` - The path to the private key to use to
|
41
|
+
SSH into the guest machine. By default this is the insecure private key
|
42
|
+
that ships with Vagrant, since that is what public boxes use. If you make
|
43
|
+
your own custom box with a custom SSH key, this should point to that
|
44
|
+
private key.
|
45
|
+
|
46
|
+
<hr>
|
47
|
+
|
48
|
+
`config.ssh.forward_agent` - If `true`, agent forwarding over SSH
|
49
|
+
connections is enabled. Defaults to false.
|
50
|
+
|
51
|
+
<hr>
|
52
|
+
|
53
|
+
`config.ssh.forward_x11` - If `true`, X11 forwarding over SSH connections
|
54
|
+
is enabled. Defaults to false.
|
55
|
+
|
56
|
+
<hr>
|
57
|
+
|
58
|
+
`config.ssh.shell` - The shell to use when executing SSH commands from
|
59
|
+
Vagrant. By default this is `bash -l`. Note that this has no effect on
|
60
|
+
the shell you get when you run `vagrant ssh`. This configuration option
|
61
|
+
only affects the shell to use when executing commands internally in Vagrant.
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
page_title: "config.vagrant - Vagrantfile"
|
3
|
+
sidebar_current: "vagrantfile-vagrant"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Vagrant Settings
|
7
|
+
|
8
|
+
**Config namespace: `config.vagrant`**
|
9
|
+
|
10
|
+
The settings within `config.vagrant` modify the behavior of Vagrant
|
11
|
+
itself.
|
12
|
+
|
13
|
+
## Available Settings
|
14
|
+
|
15
|
+
`config.vagrant.host` - This sets the type of host machine that is running
|
16
|
+
Vagrant. By default this is `:detect`, which causes Vagrant to auto-detect
|
17
|
+
the host. Vagrant needs to know this information in order to perform some
|
18
|
+
host-specific things, such as preparing NFS folders if they're enabled.
|
19
|
+
You should only manually set this if auto-detection fails.
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Configuration Version - Vagrantfile"
|
3
|
+
sidebar_current: "vagrantfile-version"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Configuration Version
|
7
|
+
|
8
|
+
Configuration versions are the mechanism by which Vagrant 1.1+ is able
|
9
|
+
to remain [backwards compatible](v2/installation/backwards-compatibility.html)
|
10
|
+
with Vagrant 1.0.x Vagrantfiles, while introducing dramatically new features
|
11
|
+
and configuration options.
|
12
|
+
|
13
|
+
If you run `vagrant init` today, the Vagrantfile will be in roughly the
|
14
|
+
following format:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
VAGRANTFILE_API_VERSION = "2"
|
18
|
+
|
19
|
+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
20
|
+
# ...
|
21
|
+
end
|
22
|
+
```
|
23
|
+
|
24
|
+
The `"2"` in the first line above represents the version of the configuration
|
25
|
+
object `config` that will be used for configuration for that block (the
|
26
|
+
section between the `do` and the `end`). This object can be very
|
27
|
+
different from version to version.
|
28
|
+
|
29
|
+
Currently, there are only two supported versions: "1" and "2". Version 1
|
30
|
+
represents the configuration from Vagrant 1.0.x. "2" represents the configuration
|
31
|
+
for 1.1+ leading up to 2.0.x.
|
32
|
+
|
33
|
+
When loading Vagrantfiles, Vagrant uses the proper configuration object
|
34
|
+
for each version, and properly merges them, just like any other configuration.
|
35
|
+
|
36
|
+
The important thing to understand as a general user of Vagrant is that
|
37
|
+
_within a single configuration section_, only a single version can be used.
|
38
|
+
You can't use the new `config.vm.provider` configurations in a version 1
|
39
|
+
configuration section. Likewise, `config.vm.forwarded_port` won't work
|
40
|
+
in a version 2 configuration section (it was renamed).
|
41
|
+
|
42
|
+
If you want, you can mix and match multiple configuration versions in the
|
43
|
+
same Vagrantfile. This is useful if you found some useful configuration
|
44
|
+
snippet or something that you want to use. Example:
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
Vagrant.configure("1") do |config|
|
48
|
+
# v1 configs...
|
49
|
+
end
|
50
|
+
|
51
|
+
Vagrant.configure("2") do |config|
|
52
|
+
# v2 configs...
|
53
|
+
end
|
54
|
+
```
|
55
|
+
|
56
|
+
<div class="alert alert-info">
|
57
|
+
<p>
|
58
|
+
<strong>What is <code>Vagrant::Config.run</code>?</strong>
|
59
|
+
You may see this in Vagrantfiles. This was actually how Vagrant 1.0.x
|
60
|
+
did configuration. In Vagrant 1.1+, this is synonymous with
|
61
|
+
<code>Vagrant.configure("1")</code>.
|
62
|
+
</p>
|
63
|
+
</div>
|
64
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Box Format - VirtualBox Provider"
|
3
|
+
sidebar_current: "virtualbox-boxes"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Boxes
|
7
|
+
|
8
|
+
As with [every provider](/v2/providers/basic_usage.html), the VirtualBox
|
9
|
+
provider has a custom box format.
|
10
|
+
|
11
|
+
This page documents the format so that you can create your own base
|
12
|
+
boxes. Note that currently you must make these boxes by hand. A future
|
13
|
+
release of Vagrant will provide additional mechanisms for automatically
|
14
|
+
creating such images.
|
15
|
+
|
16
|
+
<div class="alert alert-info">
|
17
|
+
<p>
|
18
|
+
<strong>Note:</strong> This is a reasonably advanced topic that
|
19
|
+
a beginning user of Vagrant doesn't need to understand. If you're
|
20
|
+
just getting started with Vagrant, skip this and use an available
|
21
|
+
box. If you're an experienced user of Vagrant and want to create
|
22
|
+
your own custom boxes, this is for you.
|
23
|
+
</p>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
Prior to reading this page, please understand the
|
27
|
+
[basics of the box file format](/v2/boxes/format.html).
|
28
|
+
|
29
|
+
## Contents
|
30
|
+
|
31
|
+
A VirtualBox base box is an archive of the resulting files of
|
32
|
+
[exporting](http://www.virtualbox.org/manual/ch08.html#vboxmanage-export)
|
33
|
+
a VirtualBox virtual machine. Here is an example of what is contained
|
34
|
+
in such a box:
|
35
|
+
|
36
|
+
```
|
37
|
+
$ tree
|
38
|
+
.
|
39
|
+
|-- Vagrantfile
|
40
|
+
|-- box-disk1.vmdk
|
41
|
+
|-- box.ovf
|
42
|
+
|-- metadata.json
|
43
|
+
|
44
|
+
0 directories, 4 files
|
45
|
+
```
|
46
|
+
|
47
|
+
In addition to the files from exporting a VirtualBox VM, there is
|
48
|
+
a "metadata.json" file used by Vagrant itself.
|
49
|
+
|
50
|
+
Also, there is a "Vagrantfile." This contains some configuration to
|
51
|
+
properly set the MAC address of the NAT network device, since VirtualBox
|
52
|
+
requires this to be correct in order to function properly.
|
53
|
+
|
54
|
+
When bringing up a VirtualBox backed machine, Vagrant
|
55
|
+
[imports](http://www.virtualbox.org/manual/ch08.html#vboxmanage-import)
|
56
|
+
the first "ovf" file found in the box contents.
|
57
|
+
|
58
|
+
## Installed Software
|
59
|
+
|
60
|
+
Base boxes for VirtualBox should have the following software installed, as
|
61
|
+
a bare minimum:
|
62
|
+
|
63
|
+
* SSH server with key-based authentication setup. If you want the box to
|
64
|
+
work with default Vagrant settings, the SSH user must be set to accept
|
65
|
+
the [insecure keypair](https://github.com/mitchellh/vagrant/blob/master/keys/vagrant.pub)
|
66
|
+
that ships with Vagrant.
|
67
|
+
|
68
|
+
* [VirtualBox Guest Additions](http://www.virtualbox.org/manual/ch04.html) so that things such as shared
|
69
|
+
folders can function. There are many other benefits to installing the tools,
|
70
|
+
such as improved networking performance.
|
71
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Configuration - VirtualBox Provider"
|
3
|
+
sidebar_current: "virtualbox-configuration"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Configuration
|
7
|
+
|
8
|
+
The VirtualBox provider exposes some additional configuration options
|
9
|
+
that allow you to more finely control your VirtualBox-powered Vagrant
|
10
|
+
environments.
|
11
|
+
|
12
|
+
## GUI vs. Headless
|
13
|
+
|
14
|
+
By default, VirtualBox machines are started in headless mode, meaning
|
15
|
+
there is no UI for the machines visible on the host machine. Sometimes,
|
16
|
+
you want to have a UI. Common use cases include wanting to see a browser
|
17
|
+
that may be running in the machine, or debugging a strange boot issue.
|
18
|
+
You can easily tell the VirtualBox provider to boot with a GUI:
|
19
|
+
|
20
|
+
```
|
21
|
+
config.vm.provider "virtualbox" do |v|
|
22
|
+
v.gui = true
|
23
|
+
end
|
24
|
+
```
|
25
|
+
|
26
|
+
## Virtual Machine Name
|
27
|
+
|
28
|
+
You can customize the name that appears in the VirtualBox GUI by
|
29
|
+
setting the `name` property. By default, Vagrant sets it to the containing
|
30
|
+
folder of the Vagrantfile plus a timestamp of when the machine was created.
|
31
|
+
By setting another name, your VM can be more easily identified.
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
config.vm.provider "virtualbox" do |v|
|
35
|
+
v.name = "my_vm"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
## VBoxManage Customizations
|
40
|
+
|
41
|
+
[VBoxManage](http://www.virtualbox.org/manual/ch08.html) is a utility that can
|
42
|
+
be used to make modifications to VirtualBox virtual machines from the command
|
43
|
+
line.
|
44
|
+
|
45
|
+
Vagrant exposes a way to call any command against VBoxManage just prior
|
46
|
+
to booting the machine:
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
config.vm.provider "virtualbox" do |v|
|
50
|
+
v.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
In the example above, the VM is modified to have a host CPU execution
|
55
|
+
cap of 50%, meaning that no matter how much CPU is used in the VM, no
|
56
|
+
more than 50% would be used on your own host machine. Some details:
|
57
|
+
|
58
|
+
* The `:id` special parameter is replaced with the ID of the virtual
|
59
|
+
machine being created, so when a VBoxManage command requires an ID, you
|
60
|
+
can pass this special parameter.
|
61
|
+
|
62
|
+
* Multiple `customize` directives can be used. They will be executed in the
|
63
|
+
order given.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
page_title: "VirtualBox Provider"
|
3
|
+
sidebar_current: "virtualbox"
|
4
|
+
---
|
5
|
+
|
6
|
+
# VirtualBox
|
7
|
+
|
8
|
+
Vagrant comes with support out of the box for [VirtualBox](http://www.virtualbox.org),
|
9
|
+
a free, cross-platform consumer virtualization product.
|
10
|
+
|
11
|
+
The VirtualBox provider is compatible with VirtualBox versions 4.0.x, 4.1.x,
|
12
|
+
and 4.2.x. Any other version is unsupported and the provider will display
|
13
|
+
an error message.
|
14
|
+
|
15
|
+
VirtualBox must be installed on its own prior to using the provider, or
|
16
|
+
the provider will display an error message asking you to install it.
|
17
|
+
VirtualBox can be installed by [downloading](https://www.virtualbox.org/wiki/Downloads)
|
18
|
+
a package or installer for your operating system and using standard procedures
|
19
|
+
to install that package.
|
20
|
+
|
21
|
+
Use the navigation to the left to find a specific VirtualBox topic to read more about.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Usage - VirtualBox Provider"
|
3
|
+
sidebar_current: "virtualbox-usage"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Usage
|
7
|
+
|
8
|
+
The VirtualBox provider is used just like any other provider. Please
|
9
|
+
read the general [basic usage](/v2/providers/basic_usage.html) page for
|
10
|
+
providers.
|
11
|
+
|
12
|
+
The value to use for the `--provider` flag is `virtualbox`.
|
@@ -0,0 +1,107 @@
|
|
1
|
+
---
|
2
|
+
page_title: "Box Format - VMware Provider"
|
3
|
+
sidebar_current: "vmware-boxes"
|
4
|
+
---
|
5
|
+
|
6
|
+
# Boxes
|
7
|
+
|
8
|
+
As with [every provider](/v2/providers/boxes.html), the VMware
|
9
|
+
providers have a custom box format.
|
10
|
+
|
11
|
+
This page documents the format so that you can create your own base boxes.
|
12
|
+
Note that currently you must make these base boxes by hand. A future release
|
13
|
+
of Vagrant will provide additional mechanisms for automatically creating such
|
14
|
+
images.
|
15
|
+
|
16
|
+
<div class="alert alert-info">
|
17
|
+
<p>
|
18
|
+
<strong>Note:</strong> This is a reasonably advanced topic that
|
19
|
+
a beginning user of Vagrant doesn't need to understand. If you're
|
20
|
+
just getting started with Vagrant, skip this and use an available
|
21
|
+
box. If you're an experienced user of Vagrant and want to create
|
22
|
+
your own custom boxes, this is for you.
|
23
|
+
</p>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
Prior to reading this page, please understand the
|
27
|
+
[basics of the box file format](/v2/boxes/format.html).
|
28
|
+
|
29
|
+
## Contents
|
30
|
+
|
31
|
+
A VMware base box is a compressed archive of the necessary contents
|
32
|
+
of a VMware "vmwarevm" file. Here is an example of what is contained
|
33
|
+
in such a box:
|
34
|
+
|
35
|
+
```
|
36
|
+
$ tree
|
37
|
+
.
|
38
|
+
|-- disk-s001.vmdk
|
39
|
+
|-- disk-s002.vmdk
|
40
|
+
|-- ...
|
41
|
+
|-- disk.vmdk
|
42
|
+
|-- metadata.json
|
43
|
+
|-- precise64.nvram
|
44
|
+
|-- precise64.vmsd
|
45
|
+
|-- precise64.vmx
|
46
|
+
|-- precise64.vmxf
|
47
|
+
|
48
|
+
0 directories, 17 files
|
49
|
+
```
|
50
|
+
|
51
|
+
The files that are strictly required for a VMware machine to function are:
|
52
|
+
nvram, vmsd, vmx, vmxf, and vmdk files.
|
53
|
+
|
54
|
+
There is also the "metadata.json" file used by Vagrant itself. This file
|
55
|
+
contains nothing but the defaults which are documented on the
|
56
|
+
[box format](/v2/boxes/format.html) page.
|
57
|
+
|
58
|
+
When bringing up a VMware backed machine, Vagrant copies all of the contents
|
59
|
+
in the box into a privately managed "vmwarevm" folder, and uses the first
|
60
|
+
"vmx" file found to control the machine.
|
61
|
+
|
62
|
+
<div class="alert alert-info">
|
63
|
+
<h3>Linked Clones</h3>
|
64
|
+
<p>
|
65
|
+
A future version of the VMware provider will implement
|
66
|
+
linked cloning.
|
67
|
+
</p>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
## Installed Software
|
71
|
+
|
72
|
+
Base boxes for VMware should have the following software installed, as
|
73
|
+
a bare minimum:
|
74
|
+
|
75
|
+
* SSH server with key-based authentication setup. If you want the box to
|
76
|
+
work with default Vagrant settings, the SSH user must be set to accept
|
77
|
+
the [insecure keypair](https://github.com/mitchellh/vagrant/blob/master/keys/vagrant.pub)
|
78
|
+
that ships with Vagrant.
|
79
|
+
|
80
|
+
* [VMware Tools](http://kb.vmware.com/kb/340) so that things such as shared
|
81
|
+
folders can function. There are many other benefits to installing the tools,
|
82
|
+
such as improved networking performance.
|
83
|
+
|
84
|
+
## Optimizing Box Size
|
85
|
+
|
86
|
+
Prior to packaging up a box, you should shrink the hard drives as much as
|
87
|
+
possible. This can be done with `vmware-vdiskmanager` which is usually
|
88
|
+
found in `/Applications/VMware Fusion.app/Contents/Library` for VMware Fusion. You first
|
89
|
+
want to defragment then shrink the drive. Usage shown below:
|
90
|
+
|
91
|
+
```
|
92
|
+
$ vmware-vdiskmanager -d /path/to/main.vmdk
|
93
|
+
...
|
94
|
+
$ vmware-vdiskmanager -k /path/to/main.vmdk
|
95
|
+
...
|
96
|
+
```
|
97
|
+
|
98
|
+
## Packaging
|
99
|
+
|
100
|
+
Remove any extraneous files from the "vmwarevm" folder
|
101
|
+
and package it. Be sure to compress the tar with gzip (done below in a
|
102
|
+
single command) since VMware hard disks are not compressed by default.
|
103
|
+
|
104
|
+
```
|
105
|
+
$ cd /path/to/my/vm.vmwarevm
|
106
|
+
$ tar cvzf custom.box ./*
|
107
|
+
```
|