NOTE: Currently only tested on OS X. Requires Virtualbox.
Vagrant is a poor fit for our model if instantiating a VM, initializing it over UART, and then running it (intermittently). This branch proposes a command that can eventually be installed over npm:
git clone https://github.com/tessel/t2-vm
cd t2-vm
git checkout tcr-command
npm link --local
t2-vm create
t2-vm run
t2-vm destroy
Example usage:
Here we manage the lifecycle of the VM on the left pane. While t2-vm run is run, we get the hostname and a message that the VM is online. Immediately, we can push code to the target hostname (see right pane). Then we can destroy the VM or just kill the t2-vm run process at our leisure.
NOTE: Currently only tested on OS X. Requires Virtualbox.
Vagrant is a poor fit for our model if instantiating a VM, initializing it over UART, and then running it (intermittently). This branch proposes a command that can eventually be installed over npm:
Example usage:
Here we manage the lifecycle of the VM on the left pane. While
t2-vm run
is run, we get the hostname and a message that the VM is online. Immediately, we can push code to the target hostname (see right pane). Then we can destroy the VM or just kill thet2-vm run
process at our leisure.