going to use docker envvars instead of a file
This commit is contained in:
parent
10a0d7ad00
commit
51822165d7
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
export NEXTDNS_PASSWORD=$(cat pw)
|
||||
|
||||
sshpass -p $NEXTDNS_PASSWORD scp -o "StrictHostKeyChecking no" nextdns_install.sh root@192.168.1.1:/root/nextdns_install.sh
|
||||
sshpass -p $NEXTDNS_PASSWORD scp -o "StrictHostKeyChecking no" nextdns.conf root@192.168.1.1:/data/nextdns.conf
|
||||
sshpass -p $NEXTDNS_PASSWORD ssh -o "StrictHostKeyChecking no" root@192.168.1.1 "chmod +x /root/nextdns_install.sh && /root/nextdns_install.sh install"
|
||||
sshpass -p $NEXTDNS_PASS scp -o "StrictHostKeyChecking no" nextdns_install.sh root@$UNIFI_HOST:/root/nextdns_install.sh
|
||||
sshpass -p $NEXTDNS_PASS scp -o "StrictHostKeyChecking no" nextdns.conf root@$UNIFI_HOST:/data/nextdns.conf
|
||||
sshpass -p $NEXTDNS_PASS ssh -o "StrictHostKeyChecking no" root@$UNIFI_HOST "chmod +x /root/nextdns_install.sh && /root/nextdns_install.sh install"
|
||||
|
Loading…
x
Reference in New Issue
Block a user