Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Overlay Target Setup

Shivani Karikar edited this page Sep 11, 2023 · 1 revision

Pre-requisites:

  • VirtualBox + Extension Pack
  • Vagrant

Steps:

  • Find available vagrant boxes
  • Select the one(s) you want to download - select the "New" tab to access the commands
  • cd to the dir you want to initialize the Vagrantfile in
  • Run the vagrant init < your box name > command from the "New" tab
  • Run vagrant up to spin up the instance

Creds:

From the command output of vagrant up, you will find

  • The IP and port (default 127.0.0.1:55985)
  • Username (default vagrant)
  • Default password is also vagrant

InSpec profile execution:

  • If your profile is cloned locally, cd to the dir in which the profile is located
  • Run inspec exec < profile name > -t < transport >://127.0.0.1:< port > --user vagrant --password vagrant --reporter cli json:./Reports/< report name >.json

Use vagrant halt to stop the instance

Clone this wiki locally