Starts automatically indiehosters.dev on vagrant up
This commit is contained in:
parent
4cf7d57977
commit
8152993259
1 changed files with 7 additions and 0 deletions
7
Vagrantfile
vendored
7
Vagrantfile
vendored
|
@ -68,6 +68,13 @@ SCRIPT
|
|||
core.vm.provision :shell, inline: $install_insecure_keys
|
||||
core.vm.provision :shell, inline: "mkdir -p /data/runtime/haproxy/approved-certs; cp /data/indiehosters/scripts/unsecure-certs/*.pem /data/runtime/haproxy/approved-certs"
|
||||
core.vm.provision :shell, path: "./scripts/setup.sh", args: [HOSTNAME]
|
||||
$start_indiehosters_dev = <<SCRIPT
|
||||
sudo mkdir -p /data/import/indiehosters.dev/TLS
|
||||
sudo cp /data/indiehosters/scripts/unsecure-certs/indiehosters.dev.pem /data/import/indiehosters.dev/TLS
|
||||
sudo systemctl enable static@indiehosters.dev
|
||||
sudo systemctl start static@indiehosters.dev
|
||||
SCRIPT
|
||||
core.vm.provision :shell, inline: $start_indiehosters_dev
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue