Vagrant Up Exit Code 1


So I am doing this Udacity course and I need to set up a virtual machine. I forked this repo:

And then I changed to the vagrant directory and wrote vagrant up but then I get this error

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/ubuntu-16.04' could not be found. Attempting to find               and install...
    default: Box Provider: virtualbox
    default: Box Version: = 201812.27.0
==> default: Loading metadata for box 'bento/ubuntu-16.04'
    default: URL:
==> default: Adding box 'bento/ubuntu-16.04' (v201812.27.0) for provider:     virtualbox
    default: Downloading:  16.04/versions/201812.27.0/providers/
    default: Download redirected to host: vagrantcloud-files-
==> default: Successfully added box 'bento/ubuntu-16.04' (v201812.27.0) for  'virtualbox'!
==> default: Importing base box 'bento/ubuntu-16.04'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/ubuntu-16.04' version '201812.27.0' is   up to date...
==> default: Setting the name of the VM: vagrant-configuration-  windows_default_1560181671959_19771
==> default: Vagrant has detected a configuration issue which exposes a
==> default: vulnerability with the installed version of VirtualBox. The
==> default: current guest is configured to use an E1000 NIC type for a
==> default: network adapter which is vulnerable in this version of    VirtualBox.
==> default: Ensure the guest is trusted to use this configuration or update
==> default: the NIC type using one of the methods below:
==> default:
==> default: /configuration.html#default-nic-type
==> default:  /networking.html#virtualbox-nic-type
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8000 (guest) => 8000 (host) (adapter 1)
    default: 8080 (guest) => 8080 (host) (adapter 1)
    default: 5000 (guest) => 5000 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "12781cfb-5d74-47ee-81c8-0769df41eef4", "--type",  "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'vagrant-configuration-   windows_default_1560181671959_19771' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Simar\VirtualBox VMs\vagrant-configuration-windows_default_1560181671959_19771 \Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component  MachineWrap, interface IMachine

Sorry if this error is simple to solve as this is my first time using vagrant.

asked on Super User Jun 10, 2019 by Geralt

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0