Skip to content

Customizable Vagrantfile to provision and run CentOS, Debian & Ubuntu VMs based on VirtualBox provider

License

Notifications You must be signed in to change notification settings

rubenmromero/vagrant-custom-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant-Custom-Linux

Customizable Vagrantfile to provision and run CentOS, Debian & Ubuntu VMs based on VirtualBox provider.

Prerequisites

Configuration

  1. Clone this repo into the root folder of your project and add the resulting vagrant folder to your project's .gitignore file:

    $ git clone https://github.com/rubenmromero/vagrant-custom-linux.git vagrant
    $ echo '/vagrant/' >>.gitignore
    $ git commit -m "Update '.gitignore' file" .gitignore
    
  2. Change to the vagrant folder and install the vagrant-vbguest Vagrant plugin:

    $ cd vagrant
    $ vagrant plugin install vagrant-vbguest
    
  3. Create a copy of config.yml.dist template named config.yml, edit the new file and set the Vagrant environment configuration replacing the existing <tags> by the appropriate values:

    # From the vagrant folder
    $ cp -p config.yml.dist config.yml
    $ vi config.yml
    

Execution Method

Once set up the Vagrant environment configuration in the config.yml file, simply run the following command from the vagrant folder:

$ vagrant up

If you need some help with the Vagrant utility, you can get it by executing the following command:

$ vagrant --help

Troubleshooting

Related Links

About

Customizable Vagrantfile to provision and run CentOS, Debian & Ubuntu VMs based on VirtualBox provider

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published