본문 바로가기
ops/other

[Other] vagrant - vagrantfile

by seohan1010 2024. 5. 20.

 

 

 

 

 

 

 

vagrant 파일 예시 

 

 

 

 

 

 

자세한 내용은 아래의 링크를 참고함 

 

 

 

https://developer.hashicorp.com/vagrant/docs/vagrantfile/version

 

Configuration Version - Vagrantfile | Vagrant | HashiCorp Developer

Configuration versions are the mechanism by which Vagrant 1.1+ is able to remain backwards compatible with Vagrant 1.0.x Vagrantfiles, while introducing dramatically new features and configuration options.

developer.hashicorp.com

 

 

 

 

https://friendsofvagrant.github.io/v1/docs/config/vm/define.html

 

Vagrant - Documentation - Vagrantfile - config.vm.define

config.vm.define Configuration key: config.vm.define This is used to define a VM in a multi-VM environment. Please see the multi-VM documentation to learn more about multi-VMs. The rest of the documentation for this configuration directive will assume basi

friendsofvagrant.github.io

 

 

 

https://developer.hashicorp.com/vagrant/docs/vagrantfile/machine_settings

 

config.vm - Vagrantfile | Vagrant | HashiCorp Developer

The settings within "config.vm" modify the configuration of the machine that Vagrant manages.

developer.hashicorp.com