Skip to content

Commit

Permalink
Fix Vagrantfile
Browse files Browse the repository at this point in the history
The previous image crashed after a system upgrade followed by a reboot.
This one seem to be imune to this and also an official distribution.
  • Loading branch information
rafamanzo committed Sep 27, 2018
1 parent 1b6fdef commit 98fff71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The version numbers try to follow the standards set by http://semver.org

## Unreleased

* Fix Vagrant develoment environment

## v1.8.0 - 25/09/2018

* Install mandae-webapp dependencies
Expand Down
10 changes: 5 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|

# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "bugyt/archlinux"
config.vm.box = "archlinux/archlinux"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand All @@ -38,7 +38,7 @@ Vagrant.configure(2) do |config|
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.synced_folder '.', '/vagrant', mount_options: ["dmode=777","fmode=666"]
config.vm.synced_folder '.', '/vagrant', mount_options: ["dmode=755","fmode=644"]

# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
Expand All @@ -65,7 +65,7 @@ Vagrant.configure(2) do |config|
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo rm /etc/profile.d/bash.sh
SHELL
# config.vm.provision "shell", inline: <<-SHELL
# sudo rm /etc/profile.d/bash.sh
# SHELL
end

0 comments on commit 98fff71

Please sign in to comment.