Don't mount /root/.ssh
This commit is contained in:
parent
d72582a1bc
commit
1fc8706f96
2 changed files with 0 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
.vagrant
|
||||
data/
|
||||
ssh_config
|
||||
|
|
9
Vagrantfile
vendored
9
Vagrantfile
vendored
|
@ -3,18 +3,9 @@
|
|||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.synced_folder ".", "/vagrant", disabled: true
|
||||
config.vm.synced_folder "data/root/.ssh", "/root/.ssh",
|
||||
disabled: false,
|
||||
create: true,
|
||||
type: "nfs",
|
||||
nfs_version: 4,
|
||||
nfs_udp: false,
|
||||
map_uid: 0,
|
||||
map_gid: 0
|
||||
|
||||
config.vm.provision "shell", before: :all do |shell|
|
||||
shell.inline = <<-SHELL
|
||||
chown -R root:root /root/.ssh
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue