|
|
|
@ -64,7 +64,7 @@ Vagrant.configure("2") do |config|
|
|
|
|
|
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
|
|
|
|
|
# documentation for more information about their specific syntax and use.
|
|
|
|
|
|
|
|
|
|
config.vm.provision "file", source: "torch-agent_0.0.2-1_all.deb", destination: "~/"
|
|
|
|
|
config.vm.provision "file", source: "torch-agent_0.0.3-1_all.deb", destination: "~/"
|
|
|
|
|
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
|
|
|
|
|
|
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
|
|
@ -72,7 +72,7 @@ Vagrant.configure("2") do |config|
|
|
|
|
|
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
|
|
|
|
|
|
|
|
|
|
sudo apt update
|
|
|
|
|
sudo apt install -y ./torch-agent_0.0.2-1_all.deb
|
|
|
|
|
sudo apt install -y ./torch-agent_0.0.3-1_all.deb
|
|
|
|
|
|
|
|
|
|
sudo cp -f torch-conf/* /etc/torch/
|
|
|
|
|
sudo chown -R torch /etc/torch
|
|
|
|
|