Skip to content

Instantly share code, notes, and snippets.

@tcr
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcr/f9265d6fa3e35eb30ff3 to your computer and use it in GitHub Desktop.
Save tcr/f9265d6fa3e35eb30ff3 to your computer and use it in GitHub Desktop.
Tessel 2 VM

Donwload the Vagrantfile into a directory and run vagrant up.

Your config.env file:

host=127.0.0.1
port=2222
username=root
keyPath=~/.vagrant.d/insecure_private_key

Yay!

VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.username = "root"
config.ssh.password = "tessel2"
config.ssh.shell = "ash"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.box = "technicalmachine/tessel2"
# Add usb filter for Arduino
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--usb', 'on']
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Arduino', '--vendorid', '0x2341', '--productid', '0x0043']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment