Commit 36263fb3 authored by Joanne Hugé's avatar Joanne Hugé

Set partition amount to 20

parent 83f4a3b1
......@@ -3,5 +3,6 @@ SLAPOS_CFG_FILE="/etc/opt/slapos/slapos.cfg"
mkdir -p /opt/amarisoft/.amarisoft && cp -r ~/.amarisoft/* /opt/amarisoft/.amarisoft/;
ip -6 a show dev lo | grep "::1/" | grep 2001 || bash /root/re6st;
stat $SLAPOS_CFG_FILE || slapos node || bash /root/slapos;
grep "create_tun" $SLAPOS_CFG_FILE || sed -i 's/create_tap = False/create_tap = False\ncreate_tun = True/g' $SLAPOS_CFG_FILE;
grep -q "create_tun" $SLAPOS_CFG_FILE || sed -i 's/create_tap = False/create_tap = False\ncreate_tun = True/g' $SLAPOS_CFG_FILE;
sed -i 's/partition_amount.*/partition_amount = 20/g' /etc/opt/slapos/slapos.cfg;
ip l show dev slaptun0 || slapos node format --now;
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