Skip to content

Commit

Permalink
See if it is possible to set firstboot on a hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific authored Feb 11, 2024
1 parent 7a80fb5 commit 4f969c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbooks/boxcutter_init/kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ transport:
verifier:
name: inspec

lifecycle:
post_create:
- remote: |
bash -c -x '
# Force firstboot
touch /root/firstboot_os
'
platforms:
# @see https://github.com/chef-cookbooks/testing_examples/blob/main/kitchen.dokken.yml
# @see https://hub.docker.com/u/dokken
Expand Down

0 comments on commit 4f969c0

Please sign in to comment.