Skip to content

Commit

Permalink
using upstream vendor box
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Lippold <[email protected]>
  • Loading branch information
aaronlippold committed Jan 23, 2024
1 parent b6c95d5 commit 9c97a6e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions kitchen.vagrant.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
driver:
name: vagrant
driver_config:
Expand Down Expand Up @@ -33,15 +32,15 @@ provisioner:
galaxy_ignore_certs: true

platforms:
- name: ubuntu-18.04
- name: ubuntu-18.04

driver:
box: bento/ubuntu-18.04
driver:
box: ubuntu/bionic64

lifecycle:
pre_converge:
- remote: |
echo "NOTICE - Updating the vagrant user to keep sudo working"
sudo chage -d $(( $( date +%s ) / 86400 )) vagrant
echo "NOTICE - updating vagrant sudo config"
sudo chmod 600 /etc/sudoers && sudo sed -i'' "/vagrant/d" /etc/sudoers && sudo chmod 400 /etc/sudoers
- remote: |
echo "NOTICE - Updating the vagrant user to keep sudo working"
sudo chage -d $(( $( date +%s ) / 86400 )) vagrant
echo "NOTICE - updating vagrant sudo config"
sudo chmod 600 /etc/sudoers && sudo sed -i'' "/vagrant/d" /etc/sudoers && sudo chmod 400 /etc/sudoers

0 comments on commit 9c97a6e

Please sign in to comment.