Reorganized and regenerated example PKI
This commit is contained in:
Vendored
+6
-6
@@ -64,16 +64,16 @@ 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-client/torch.conf", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "~/torch-client/torch-pub.py", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "~/torch-client/torch.service", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "~/torch-client/install-ubuntu2004.sh", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch.conf", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch-pub.py", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch.service", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../install-ubuntu2004.sh", destination: "~/torch/"
|
||||
|
||||
config.vm.provision "file", source: "~/torch-client/example/torch-conf", destination: "~/torch-conf"
|
||||
config.vm.provision "file", source: "vagrant-config", destination: "~/torch-conf"
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
|
||||
sudo -- sh -c "echo '192.168.100.2 mqtt.bjdweck.com' >> /etc/hosts"
|
||||
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
|
||||
|
||||
cd torch
|
||||
sudo ./install-ubuntu2004.sh
|
||||
|
||||
Reference in New Issue
Block a user