15 lines
613 B
Plaintext
15 lines
613 B
Plaintext
## Using SSH:
|
|
## * Log in to hypervisor, retrieve list of running VMs
|
|
## * Log in to hypervisor, retrieve list of ZFS volumes
|
|
## * List any VM matching spec ^vpp[\d]+-[\d+]$
|
|
## * List any ZFS datasets matching matching spec ^ssd-vol0/vpp[\d]+-[\d+]$
|
|
## * If any of these exist, bail and require the user to run ./destroy first
|
|
##
|
|
##
|
|
## * Log in to the hypervisor, and:
|
|
## * Clone the base image to all VM names (ssd-vol0/vpp0-[0-3])
|
|
## * Mount these in a staging directory
|
|
## * Rsync over our build/$(overlay)/$(hypervisor)/*
|
|
## * Unmount the staging directories
|
|
## * Start the VMs
|