Skip to content

Instantly share code, notes, and snippets.

@jeroenvdgulik
Last active October 26, 2016 11:43
Show Gist options
  • Save jeroenvdgulik/ea5fc589b21aeaabbe3fbae7a09e5fb4 to your computer and use it in GitHub Desktop.
Save jeroenvdgulik/ea5fc589b21aeaabbe3fbae7a09e5fb4 to your computer and use it in GitHub Desktop.
Vagrant not working with Ubuntu 12.04 and Ansible > 1.8

If you ever encounter this error:

Vagrant attempted to execute the capability 'configure_networks'
on the detect guest OS 'linux', but the guest doesn't
support that capability. This capability is required for your
configuration of Vagrant. Please either reconfigure Vagrant to
avoid this capability or fix the issue by creating the capability.

Create a file /etc/os-release

NAME="Ubuntu"
VERSION="12.04 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04 LTS)"
VERSION_ID="12.04"

Then run

vagrant reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment