Skip to content

Instantly share code, notes, and snippets.

@realsby
Created April 23, 2018 16:03
Show Gist options
  • Save realsby/2b93f8fde03e8428bf032b7cf8bab638 to your computer and use it in GitHub Desktop.
Save realsby/2b93f8fde03e8428bf032b7cf8bab638 to your computer and use it in GitHub Desktop.
Vagrant Windows Sample
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.box_check_update = false
config.vm.network :private_network, ip: "192.192.0.92"
config.vm.synced_folder "./vagrant", "/vagrant", id: "vagrant-root", :owner => "www-data", :group => "www-data", mount_options: ["dir_mode=0777,file_mode=0777"], smb_username:"WindowsUserName", smb_password:"WindowsUserPassword", type: "smb"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = "2"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment