Skip to content

Commit

Permalink
Vagrant: new config key for LXC driver
Browse files Browse the repository at this point in the history
LXC 2.1 introduce new configuration parameter keys and
LXC 3.0 removes legacy keys.
Here replace legacy key with new one.

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Mar 20, 2019
1 parent 2cdcdca commit abbdea6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
ovrd.vm.box = "cultuurnet/ubuntu-14.04-64-puppet"
lxc.backingstore = 'dir'
lxc.customize 'cgroup.memory.limit_in_bytes', vm_ram_bytes
lxc.customize 'aa_allow_incomplete', 1
# LXC 3 or later deprecated old parameter
lxc.customize 'apparmor.allow_incomplete', 1
# for LXC 2.1 or before
#lxc.customize 'aa_allow_incomplete', 1
lxc.container_name = "gdal-vagrant"
# allow android adb connection from guest
#ovrd.vm.synced_folder('/dev/bus', '/dev/bus')
Expand Down

0 comments on commit abbdea6

Please sign in to comment.