Skip to content
Permalink
Browse files

Add subscribe example to dist config file

  • Loading branch information...
subuk committed Sep 10, 2019
1 parent e3b1010 commit b880e57cb311fdceccccc07d634f719f7950d4a4
Showing with 7 additions and 0 deletions.
  1. +7 −0 vmango.dist.conf
@@ -31,3 +31,10 @@ image "/var/lib/libvirt/images/ubuntu-18.04-minimal-cloudimg-amd64.img" {
os_version = "18.04"
os_arch = "x86_64"
}

# Run script when new vm created
# subscribe "vm_created" {
# script = "./sample-subscribe-script.sh $VMANGO_VM_ID $VMANGO_VM_VOLUME_0_PATH > /tmp/sub_output.txt"
# # Remove vm on script failure
# # mandatory = true
# }

0 comments on commit b880e57

Please sign in to comment.
You can’t perform that action at this time.