Commit 07dcae19 authored by Rafael Monnerat's avatar Rafael Monnerat

[quick-debian-install] Save logs for slapos tweak.

parent 29f13862
...@@ -136,7 +136,8 @@ set -e ...@@ -136,7 +136,8 @@ set -e
echo 1 > /sys/kernel/mm/ksm/run echo 1 > /sys/kernel/mm/ksm/run
slapos node format -v -c --now slapos node format -v -c --now
echo "[SlapOS Tweak] Finished at: "
date
EOF EOF
chmod a+x /usr/local/sbin/slapos-tweak chmod a+x /usr/local/sbin/slapos-tweak
...@@ -147,8 +148,8 @@ SHELL=/bin/sh ...@@ -147,8 +148,8 @@ SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin PATH=/usr/bin:/usr/sbin:/sbin:/bin
MAILTO="" MAILTO=""
@reboot root slapos-tweak @reboot root slapos-tweak >> /opt/slapos/log/slapos-tweak.log 2>&1
@reboot root /opt/slapos/bin/bang /etc/opt/slapos/slapos.cfg -m "Reboot." @reboot root /opt/slapos/bin/bang /etc/opt/slapos/slapos.cfg -m "Reboot." >> /opt/slapos/log/slapos-tweak.log 2>&1
EOF EOF
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