Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
make /tmp a tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccope committed Aug 17, 2015
1 parent e14eb89 commit 102df2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/vagrant-lxc/action/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def call(env)
config.customize 'mount.entry', '/sys/fs/pstore sys/fs/pstore none bind,optional 0 0'
end

# Make /tmp a tmpfs to prevent init scripts from nuking synced folders mounted in here
config.customize 'mount.entry', 'tmpfs tmp tmpfs nodev,nosuid,size=2G 0 0'

env[:ui].info I18n.t("vagrant_lxc.messages.starting")
env[:machine].provider.driver.start(config.customizations)

Expand Down

0 comments on commit 102df2f

Please sign in to comment.