1 2 3 4 5 6 7 8 9
#!/bin/sh set -eu build() { vmdb2 "$1" --output "$2" --rootfs-tarball vm.tar.gz -v --log vmdb2.log } build worker.vmdb worker.img