From 13996cd4297a324f592d0ad0313ce9fcbd6e2b6a Mon Sep 17 00:00:00 2001 From: qvqc Date: Tue, 3 Aug 2021 12:45:45 -0400 Subject: [PATCH] moarfix --- README.md | 2 +- wow-sman.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6aff4d..7eeeb94 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ Info: https://forum.wownero.com/t/solo-miners-alliance-network/746 One command to install Wownero, Tor, i2pd, xmrig, xmrig-proxy on Ubuntu / Debian. ``` -wget https://git.wownero.com/qvqc/wow-sman/raw/branch/master/wow-sman.sh -O - | sudo sh +wget https://git.wownero.com/qvqc/wow-sman/raw/branch/master/wow-sman.sh -O - | sh ``` diff --git a/wow-sman.sh b/wow-sman.sh index 80f858b..b0a45e1 100644 --- a/wow-sman.sh +++ b/wow-sman.sh @@ -20,7 +20,7 @@ cd ansible-remote-node ## add Alliance Network Nodes here -cat <> roles/wownerod/templates/wownerod.conf.j2 +cat <<'EOT' >> roles/wownerod/templates/wownerod.conf.j2 add-peer=v2admi6gbeprxnk6i2oscizhgy4v5ixu6iezkhj5udiwbfjjs2w7dnid.onion:34566 add-peer=iy6ry6uudpzvbd72zsipepukp6nsazjdu72n52vg3isfnxqn342flzad.onion:34566 add-peer=7ftpbpp6rbgqi5kjmhyin46essnh3eqb3m3rhfi7r2fr33iwkeuer3yd.onion:34566 @@ -53,7 +53,7 @@ ansible-playbook -i inventory.ini site.yaml -b ## getting local node info i2pP2P=$( curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "34565" ) i2pRPC=$( curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "34568" ) -torRPCP2P=$( cat /var/lib/tor/wownero/hostname ) +torRPCP2P=$( sudo cat /var/lib/tor/wownero/hostname ) ## add xmrig cd ~