Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Using Vagrant Tooling in Eclipse

December 22, 2015
Roland Grunberg
Related products:
Developer Toolset

    Vagrant gives developers a uniform way of configuring their virtual environment, regardless of the underlying hypervisor chosen (eg. KVM/QEMU, VirtualBox, VMware, Hyper-V). It's also available for Mac OS and Windows making it easier to run virtual Linux environments from these platforms.

    Today we'll be creating a simple virtual machine, using the Eclipse Vagrant Tooling plugin. This will be shipping as part of the Linux Tools Project 4.2.0 release (along with the Docker Tooling). The Vagrant tooling is targeted to make its way into the release of DTS 4.1 (Developer Toolset) and Fedora 23.

    Before using the Vagrant Tooling, we need to make sure we have all the pre-requisites installed.

    On Fedora, we'll need vagrant, and vagrant-libvirt for our provider. Our user will need to be under the libvirt group so that vagrant commands may run without the need for a password prompt. We'll also need to ensure that the libvirt daemon is started.

    dnf install vagrant vagrant-libvirt
    usermod -a -G libvirt $USER
    systemctl start libvirtd.service

    It may be necessary to log back in to ensure our user permissions have been updated. We could also use other providers such as VirtualBox and our Eclipse Vagrant Tooling supports this, but in Fedora it's pretty simple to use KVM/QEMU through libvirt.

    The Eclipse Vagrant Tooling was released recently as part of Linux Tools 4.2.0, under the Docker Tooling repository for now : http://download.eclipse.org/linuxtools/update-docker-1.2

    Once installed, you'll see that the Vagrant Tooling is exposed in two ways. Either may be used as it's a matter of preference.

    The Vagrant Tooling perspective contains a view of known Vagrant Boxes, as well as existing virtual machines.

    vagrant-perspective

    The Vagrant Toolbar menu button resides in the main workbench toolbar and exposes the virtual machine creation wizard. This contains a pull-down menu that will list the existing VMs, along with sub-menus for performing relevant actions. This addition to the workbench toolbar is always available so it doesn't require switching to the Vagrant Tooling perspective.

    So with the introduction out of the way, let's create our very first virtual machine.

    Switching into the Vagrant Tooling perspective, we'll go into the Box View, and click the Create VM button located near the top-right of the view toolbar. This will bring up the virtual machine creation wizard.

    We'll name our VM f23_test and we'll provide a URL for the Box Reference input. The Box we want can be found on the Fedora Cloud download page as :

    https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Atomic-Vagrant-23-20151030.x86_64.vagrant-libvirt.box

    We can now hit finish.

    Note: If we had a Vagrantfile already configured, we could have simply used that instead (by selecting Custom Vagrantfile).

    Once the creation process starts, we'll see an Eclipse Console come up to allow us to monitor the progress of the download operation, as well as the VM creation. This can take a bit of time so it's good to have some detailed feedback on how much longer is left.

    Once the creation process has terminated, we can begin working with our VM. In some cases it might even be possible to begin interacting with the VM before creation completes although it's ideal to wait as certain configuration steps may still be taking place.

    To SSH into our newly created VM, we select it from the Vagrant VM View, and click the SSH toolbar icon located near the top-right corner of the view.

    This plugin is new, and there are plenty of additional options/workflows to support (eg. package, provision, suspend) but this small demonstration shows how easy it is to get started.

    Last updated: February 7, 2024

    Recent Posts

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.