Created
December 14, 2018 03:27
-
-
Save rchatsiri/4127821376c3ae6866711092ccb77111 to your computer and use it in GitHub Desktop.
Mount Vbox with local host directory.
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.provider "virtualbox" do |vb| | |
vb.name = "firecracker-servless" | |
vb.memory = 8282 | |
vb.cpus = 8 | |
end | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.network "private_network", ip: "192.168.163.15" | |
config.vm.network "forwarded_port", guest: 22, host: 1122 | |
config.vm.synced_folder "D:/workspacerust/firecracker", "/firecracker", create: true, type: "nfs" | |
config.vm.synced_folder "D:/workspacetools/vimrc/", "/home/vagrant/vimrc", create: true, type: "nfs" | |
config.vm.synced_folder "D:/workspacetools/vim/vim/", "/home/vagrant/.vim/", create: true, type: "nfs" | |
config.vm.post_up_message = <<-MESSAGE | |
All done! | |
MESSAGE | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment