ci(vagrant): use conditional local settings (inc. synced_folders)

This commit is contained in:
Imran Iqbal 2021-12-24 12:13:40 +00:00 committed by Pedro Algarvio
parent 52ffe58df8
commit 41f0ae7d32

View file

@ -7,9 +7,15 @@ driver:
customize:
usbxhci: 'off'
gui: false
linked_clone: true
ssh:
shell: /bin/sh
<% unless ENV['CI'] %>
linked_clone: true
synced_folders:
- - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant'
- '/vagrant'
- 'create: true, disabled: false'
<% end %>
provisioner:
init_environment: |
@ -32,6 +38,7 @@ platforms:
box: generic/openbsd6
ssh:
shell: /bin/ksh
synced_folders: []
provisioner:
init_environment: |
echo 'auto_accept: true' > /tmp/auto-accept-keys.conf