--- a/vagrant/Vagrantfile.pkg
+++ b/vagrant/Vagrantfile.pkg
@@ -15,9 +15,9 @@
# specific language governing permissions and limitations
# under the License.
-Vagrant::Config.run do |config|
- # Forward Allura web port so you can browse the site at
- # http://localhost:8080 (local port is the second number)
- config.vm.forward_port 8080, 8080
- config.vm.forward_port 8983, 8983 # solr
+Vagrant.configure("2") do |config|
+ # allura
+ config.vm.network :forwarded_port, guest: 8080, host: 8080
+ # solr
+ config.vm.network :forwarded_port, guest: 8983, host: 8983
end