vagrant/website/source/docs/vagrantfile/vagrant_settings.html.md

32 lines
1000 B
Markdown
Raw Normal View History

2013-09-04 22:51:56 +00:00
---
layout: "docs"
page_title: "config.vagrant - Vagrantfile"
2013-09-04 22:51:56 +00:00
sidebar_current: "vagrantfile-vagrant"
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.
`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"]]
```