aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.vagrant/Vagrantfile
diff options
context:
space:
mode:
authorNaveen Joy <najoy@cisco.com>2023-09-25 15:17:42 -0700
committerDave Wallace <dwallacelf@gmail.com>2023-10-30 13:36:11 +0000
commit4e0ee1b55e6db6d54ad468df42044e853c9272c4 (patch)
tree5a9997ab49be47a4f93ea0de0d90c453ac9a43ad /csit.infra.vagrant/Vagrantfile
parent4f981f97cfe4d61fc156c806a429d8dd9d261a4f (diff)
code and doc updates for vagrant VM dev/test environ setup
Change-Id: I0e4e4758b3abbfc2fe2e18200b85477293de218b Signed-off-by: Naveen Joy <najoy@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'csit.infra.vagrant/Vagrantfile')
-rw-r--r--csit.infra.vagrant/Vagrantfile21
1 files changed, 11 insertions, 10 deletions
diff --git a/csit.infra.vagrant/Vagrantfile b/csit.infra.vagrant/Vagrantfile
index f951425e86..cbcde197db 100644
--- a/csit.infra.vagrant/Vagrantfile
+++ b/csit.infra.vagrant/Vagrantfile
@@ -27,7 +27,7 @@ Vagrant.configure("2") do |config|
config.vm.network :private_network, type: "dhcp", auto_config: false, virtualbox__intnet: "link2", nic_type: "82545em", mac: "080027e3f542"
config.vm.network :private_network, type: "dhcp", auto_config: false, virtualbox__intnet: "link3", nic_type: "82545em", mac: "0800274f7c63"
- config.vm.synced_folder "../", "/vagrant/csit"
+ config.vm.synced_folder "../", "/home/vagrant/csit"
# Provision the box using ansible local (no Ansible installation needed
# on host).
@@ -36,8 +36,8 @@ Vagrant.configure("2") do |config|
ansible.become = true
ansible.verbose = false
ansible.limit = "vagrant"
- ansible.inventory_path = "csit/fdio.infra.ansible/inventories/vagrant_inventory/hosts"
- ansible.playbook = "csit/fdio.infra.ansible/site.yaml"
+ ansible.inventory_path = "/home/vagrant/csit/fdio.infra.ansible/inventories/vagrant_inventory/hosts"
+ ansible.playbook = "/home/vagrant/csit/fdio.infra.ansible/site.yaml"
end
config.vm.post_up_message = <<-MESSAGE
@@ -62,19 +62,20 @@ Vagrant.configure("2") do |config|
MESSAGE
- config.vm.define "focal", primary: true do |focal|
+ config.vm.define "jammy", primary: true do |jammy|
# Base box definition, currently using
- # Official Ubuntu 20.04 LTS (Focal) Daily Build
- focal.vm.box = "ubuntu/focal64"
- focal.vm.box_version = "20210415.0.0"
- focal.vm.box_check_update = false
+ # Official Ubuntu 22.04 LTS (Jammy) Daily Build
+ jammy.vm.box = "ubuntu/jammy64"
+ jammy.vm.box_version = "20221229.0.0"
+ jammy.vm.box_check_update = false
# Virtualbox machine configuration
- focal.vm.provider "virtualbox" do |vb|
- vb.name = "vppdevice-focal"
+ jammy.vm.provider "virtualbox" do |vb|
+ vb.name = "vppdevice-jammy"
vb.gui = false
vb.memory = "8192"
vb.cpus = "4"
+ vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]
vb.customize ["modifyvm", :id, "--nicpromisc4", "allow-all"]