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

Commit

Permalink
Enable sudo, e.g. for installing packages during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
acj committed Jan 15, 2022
1 parent 091fd98 commit 4669552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: <<~SHELL
pkg bootstrap
pkg update
pkg install -y curl bash git gmake
pkg install -y curl bash git gmake sudo
# Enable Vagrant's Synced Folders feature (sometimes flaky for FreeBSD guests)
#pkg install -y virtualbox-ose-additions-nox11
#sysrc vboxguest_enable="YES"
Expand All @@ -21,6 +21,7 @@ Vagrant.configure("2") do |config|
rm -rf /usr/ports /usr/share/doc
chsh -s /usr/local/bin/bash vagrant
pw groupmod wheel -m vagrant
# Install ruby and rust toolchains
su -l vagrant <<'EOF'
Expand Down

0 comments on commit 4669552

Please sign in to comment.