Created
April 23, 2018 16:03
-
-
Save realsby/2b93f8fde03e8428bf032b7cf8bab638 to your computer and use it in GitHub Desktop.
Vagrant Windows Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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