Skip to content

agustinlare/vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant

Most used commands

vagrant up
vagrant halt
vagrant ssh
vagrant provision

Add Boxes

Boxes inventory

$ vagrant box add imagen --provider hyperv

Deafult provider Hyper-V (Powershell CLI)

[Environment]::SetEnvironmentVariable("VAGRANT_DEFAULT_PROVIDER", "hyperv", "User")

Plugins

vagrant plugin install vagrant-reload 
vagrant plugin install vagrant-git
vagrant plugin install vagrant-vbguest && vagrant vbguest

Share folder

co.vm.synced_folder "./", "/vagrant", owner: "vagrant", mount_options: ["dmode=775,fmode=600"]

Call scripts from file

SCRIPT_IFCONFIG = "../scripts/ifcfg-eth0.sh"
sc.vm.provision "shell", path: SCRIPT_IFCONFIG, privileged: true, args: "192.168.0.202"

Otras boxes

  • Raspberry: jriguera/rpibuilder-buster-10.2-i386

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published