Require nfs synced folder in Vagrantfile 31/4631/1
authorTodd Malsbary <todd.malsbary@intel.com>
Wed, 26 Jan 2022 22:37:47 +0000 (14:37 -0800)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 26 Jan 2022 22:39:02 +0000 (14:39 -0800)
When nfs is not installed the host, vagrant will fallback to rsync and
not pick up the changes to user_config.sh.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia30b6b44a986c5fe645da9927685aef73f2f19e0

Vagrantfile

index 8ab75ed..ced84ef 100644 (file)
@@ -65,7 +65,7 @@ Vagrant.configure("2") do |config|
     # Note the apparent typo in the name below, it is correct as-is
     m.vm.box = 'intergratedcloudnative/ubuntu2004'
     m.vm.hostname = 'jump'
-    m.vm.synced_folder '.', '/icn'
+    m.vm.synced_folder '.', '/icn', type: 'nfs'
     m.vm.provider :libvirt do |libvirt|
       libvirt.graphics_ip = '0.0.0.0'
       libvirt.default_prefix = "#{site}-"