1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

仮想環境(Ubuntu)とホストOS(Windows)の共有フォルダ作成

Posted at

##ホストOS

cd %userprofile%\vagrant\Ubuntu64_16
mkdir workspace

下記ファイルを編集

%userprofile%\vagrant\Ubuntu64_16\vagrantfile
config.vm.synced_folder "./workspace","/home/vagrant/workspace"
config.vm.provider :virtualbox do |vb|
  vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//home/vagrant/workspace","1"]
end

###ついでにメモリ使用量も設定

config.vm.provider :virtualbox do |vb|
  vb.memory = "1024"
end

###設定を反映させるためにVagrantを再起動

fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
vagrant reload --provision
1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?