Vagrant 썸네일형 리스트형 vagrantfile 샘플(강의자료) # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| #==============# # CentOS nodes # #==============# #Ansible-Node01 config.vm.define "ansible-node01" do |cfg| cfg.vm.box = "centos/7" cfg.vm.provider "virtualbox" do |vb| vb.name = "Ansible-Node01(github_SysNet4Admin)" end cfg.vm.host_name = "ansible-node01" cfg.vm.network "public_network", ip: "192.168.1.11" cfg.vm.netw.. Vagrant 로 여러 VM 생성하기 Vagrant Plugin 설치 vagrant-vbguest is a Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system. $ vagrant plugin install vagrant-vbguest Vagrant File 생성 $ vagrant init Vagrant File 작성 $ vi Vagrantfile Vagrant.configure("2") do |config| config.vm.provision "shell", inline: "echo Hello" config.vm.provider "virtualbox" do |vb| vb.gui = false vb.memory =.. 이전 1 다음