Reorganized and regenerated example PKI

This commit is contained in:
bj
2020-10-06 13:54:00 +02:00
parent 05be3a003d
commit 258b166c36
36 changed files with 438 additions and 285 deletions
+6 -6
View File
@@ -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