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

Commit 4669552

Browse files
committed
Enable sudo, e.g. for installing packages during CI
1 parent 091fd98 commit 4669552

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Vagrantfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
1212
config.vm.provision "shell", inline: <<~SHELL
1313
pkg bootstrap
1414
pkg update
15-
pkg install -y curl bash git gmake
15+
pkg install -y curl bash git gmake sudo
1616
# Enable Vagrant's Synced Folders feature (sometimes flaky for FreeBSD guests)
1717
#pkg install -y virtualbox-ose-additions-nox11
1818
#sysrc vboxguest_enable="YES"
@@ -21,6 +21,7 @@ Vagrant.configure("2") do |config|
2121
rm -rf /usr/ports /usr/share/doc
2222
2323
chsh -s /usr/local/bin/bash vagrant
24+
pw groupmod wheel -m vagrant
2425
2526
# Install ruby and rust toolchains
2627
su -l vagrant <<'EOF'

0 commit comments

Comments
 (0)