File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ jobs:
5050 echo "Controller IP is: $CONTROLLER_IP"
5151 PROXY=$CONTROLLER_IP:3128
5252 echo "Proxy address is: $PROXY"
53- echo "acl all src all" > /tmp/ squid.conf
54- echo "http_access allow all" >> /tmp/ squid.conf
55- echo "http_port $PROXY" >> /tmp/ squid.conf
53+ echo "acl all src all" > squid.conf
54+ echo "http_access allow all" >> squid.conf
55+ echo "http_port $PROXY" >> squid.conf
5656 cat /tmp/squid.conf
5757 # copy to the controller and reconfigure it
5858 juju status -m controller
5959 juju switch controller
6060 sudo mkdir /home/runner/.ssh
6161 juju ssh 0 "sudo apt-get install squid -y"
62- juju scp /tmp/ squid.conf 0:/tmp/squid.conf
62+ juju scp squid.conf 0:/tmp/squid.conf
6363 juju ssh 0 "sudo mv /tmp/squid.conf /etc/squid/squid.conf"
6464 juju ssh 0 "sudo squid -k reconfigure"
6565 # Test curl after waiting
You can’t perform that action at this time.
0 commit comments