Commit 02565b9a authored by Joanne Hugé's avatar Joanne Hugé

Remove unused scripts (replaced by ors playbook)

parent 677432ce
#!/bin/bash
cd ~/slapos.package/playbook;
ansible-playbook -i hosts ors.yml;
ansible-playbook -i hosts ors-upgrade.yml;
# Don't run re6st with interface option to avoid networks merging while in Lille Office
CONF="/etc/re6stnet/re6stnet.conf"
IFACE="$(ip route | grep default | sed 's/.*dev \(\w*\)\( .*$\|$\)/\1/g')"
sed -i '/^interface/d' $CONF
systemctl restart re6stnet;
#!/bin/bash
CONF="/etc/re6stnet/re6stnet.conf"
IFACE="$(ip route | grep default | sed 's/.*dev \(\w*\)\( .*$\|$\)/\1/g')"
sed -i '/^interface/d' $CONF
echo "interface $IFACE" >> $CONF
systemctl stop re6stnet
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment