Skip to content

Commit

Permalink
Add example linux-poweroff test
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 authored and abejgonzalez committed Dec 1, 2022
1 parent 5e5fc2e commit 8c43ea8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example-workloads/linux-poweroff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name" : "linux-poweroff",
"base" : "br-base.json",
"overlay" : "overlay",
"command" : "/poweroff.sh"
}
5 changes: 5 additions & 0 deletions example-workloads/linux-poweroff/overlay/poweroff.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

echo "Example poweroff workload"
echo "Shutting down the system"
poweroff

0 comments on commit 8c43ea8

Please sign in to comment.