Closed sourcefilter closed 5 years ago
[vagrant@localhost ~]$ shutdown -h now ==== AUTHENTICATING FOR org.freedesktop.login1.power-off === Authentication is required for powering off the system. Authenticating as: vagrant Password:
The code to fix this is in https://github.com/UCLALibrary/uclalib_role_samvera_capdeploy/pull/29 but in talking with Stephen we decided to break this out into its own role. So, I'll write an Ansible role that will handle stuff specific to the developer's box.
Just dropping this bit of documentation in here so it's not forgotten: https://blog.learningtree.com/policykit-authentication-framework-creating-rules/
Do a vagrant box update
to download the latest version with this fix. Auto-updates for boxes are turned off by default.
Forgot to take notes, but
shutdown now -h
inside the VM shell fails with a similar "command not found" message.sudo shutdown now -h
works, but I assume there's other vagrant stuff (like w/ the sshfs mount) that might not get done.So, acceptance criteria (now that the problem is understood):
vagrant halt
works for the dev box published to Vagrant Cloud