2013-09-04 22:51:56 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2013-09-06 16:50:43 +00:00
|
|
|
page_title: "config.vagrant - Vagrantfile"
|
2013-09-04 22:51:56 +00:00
|
|
|
sidebar_current: "vagrantfile-vagrant"
|
2016-01-19 18:08:53 +00:00
|
|
|
description: |-
|
|
|
|
The settings within "config.vagrant" modify the behavior of Vagrant
|
|
|
|
itself.
|
2013-09-04 22:51:56 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Vagrant Settings
|
|
|
|
|
|
|
|
**Config namespace: `config.vagrant`**
|
|
|
|
|
|
|
|
The settings within `config.vagrant` modify the behavior of Vagrant
|
|
|
|
itself.
|
|
|
|
|
|
|
|
## Available Settings
|
|
|
|
|
|
|
|
`config.vagrant.host` - This sets the type of host machine that is running
|
|
|
|
Vagrant. By default this is `:detect`, which causes Vagrant to auto-detect
|
|
|
|
the host. Vagrant needs to know this information in order to perform some
|
|
|
|
host-specific things, such as preparing NFS folders if they're enabled.
|
|
|
|
You should only manually set this if auto-detection fails.
|
2018-01-15 15:23:47 +00:00
|
|
|
|
|
|
|
`config.vagrant.sensitive` - (string, array) - Value or list of values that
|
|
|
|
should not be displayed in Vagrant's output. Value(s) will be removed from
|
|
|
|
Vagrant's normal UI output as well as logger output.
|
2018-01-17 00:04:32 +00:00
|
|
|
|
|
|
|
```ruby
|
|
|
|
config.vagrant.sensitive = ["MySecretPassword", ENV["MY_TOKEN"]]
|
|
|
|
```
|