summaryrefslogtreecommitdiff
path: root/subplot/vmadm.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-14 07:11:53 +0000
committerLars Wirzenius <liw@liw.fi>2021-03-14 07:11:53 +0000
commite0b2904ef83b5a082f3bae1756bc7633a659c8fc (patch)
treeb4e0698ae9f50b8757530f2332cb1c40872d4a5c /subplot/vmadm.yaml
parentd4cba41b5674e6ca1cbd5669aeb42d5f7d62e8bd (diff)
parentb8119579a246727805a03c5a8e60fb44109410f6 (diff)
downloadvmadm-e0b2904ef83b5a082f3bae1756bc7633a659c8fc.tar.gz
Merge branch 'iso' into 'main'
fix: VMs can be restarted Closes #17 See merge request larswirzenius/vmadm!19
Diffstat (limited to 'subplot/vmadm.yaml')
-rw-r--r--subplot/vmadm.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot/vmadm.yaml b/subplot/vmadm.yaml
index 21662b6..76881e1 100644
--- a/subplot/vmadm.yaml
+++ b/subplot/vmadm.yaml
@@ -11,6 +11,12 @@
function: create_vm
cleanup: delete_vm
+- when: "I invoke vmadm shutdown --config {config} {filename}"
+ function: shutdown_vm
+
+- when: "I invoke vmadm start --config {config} {filename}"
+ function: start_vm
+
- when: "I invoke ssh -F {config} {target} {args:text}"
function: run_hostname_over_ssh