scripts v1
This commit is contained in:
19
dns/deploy.sh
Executable file
19
dns/deploy.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Author: Landon Dyck
|
||||
# Deploys the dns configuration
|
||||
#
|
||||
# Usage: $ ./deploy.sh
|
||||
|
||||
export $(cat .env | xargs)
|
||||
|
||||
cd dns
|
||||
|
||||
dnscontrol preview
|
||||
|
||||
echo
|
||||
read -sp $'\e[34mPress \e[1;32m[Enter]\e[0;34m key to deploy or \e[1;31mCTRL+C\e[0;34m to cancel\e[0m'
|
||||
echo
|
||||
echo
|
||||
|
||||
dnscontrol push
|
||||
7
dns/setup.sh
Executable file
7
dns/setup.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Author: Landon Dyck
|
||||
# Installs dnscontrol
|
||||
#
|
||||
# Usage: $ ./setup.sh
|
||||
go install -v github.com/StackExchange/dnscontrol/v4@v4.26.0
|
||||
Reference in New Issue
Block a user