diff --git a/.vagrant-scripts/plinth-user-permissions.py b/.vagrant-scripts/plinth-user-permissions.py deleted file mode 100755 index 796b84648..000000000 --- a/.vagrant-scripts/plinth-user-permissions.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python3 -# -*- mode: python -*- -# SPDX-License-Identifier: AGPL-3.0-or-later -"""Set required permissions for user "plinth" to run plinth in dev setup.""" - -import pathlib - -content = ''' -Cmnd_Alias FREEDOMBOX_ACTION_DEV = /usr/share/plinth/actions/actions, /freedombox/actions/actions -Defaults!FREEDOMBOX_ACTION_DEV closefrom_override -plinth ALL=(ALL:ALL) NOPASSWD:SETENV : FREEDOMBOX_ACTION_DEV -fbx ALL=(ALL:ALL) NOPASSWD : ALL -''' - -sudoers_file = pathlib.Path('/etc/sudoers.d/01-freedombox-development') -sudoers_file.write_text(content) diff --git a/Vagrantfile b/Vagrantfile index 366097b57..c78a26ab3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -34,11 +34,5 @@ $ vagrant ssh $ sudo freedombox-logs " - config.trigger.after [:up, :resume, :reload] do |trigger| - trigger.info = "Set plinth user permissions for development environment" - trigger.run_remote = { - path: ".vagrant-scripts/plinth-user-permissions.py" - } - end config.vm.boot_timeout=1200 end