Commit 9c3ec8ec authored by Yusei Tahara's avatar Yusei Tahara

Update setup.sh

parent 1bd83212
...@@ -21,8 +21,15 @@ systemctl restart apache2.service ...@@ -21,8 +21,15 @@ systemctl restart apache2.service
slapos configure local slapos configure local
wget -O /etc/opt/slapos/slapos.cfg https://lab.nexedi.com/yusei/a/raw/master/slapos.cfg wget -O /etc/opt/slapos/slapos.cfg https://lab.nexedi.com/yusei/a/raw/master/slapos.cfg
wget -O /etc/opt/slapos/computer_definition.cfg https://lab.nexedi.com/yusei/a/raw/master/computer_definition.cfg wget -O /etc/opt/slapos/computer_definition.cfg https://lab.nexedi.com/yusei/a/raw/master/computer_definition.cfg
mkdir -p /slapos/opt/slapos/log
mkdir -p /slapos/opt/slapgrid
mkdir -p /slapos/srv/slapgrid
mkdir -p /slapos/srv/slapgrid/var/data-log
rm -rf /opt/slapgrid
rm -rf /srv/slapgrid
ln -s /slapos/opt/slapgrid /opt/
ln -s /slapos/srv/slapgrid /srv/
slapos proxy start slapos proxy start
ln -s /opt/srv/slapgrid /srv/slapgrid
slapos node format --now slapos node format --now
slapos node supervisord slapos node supervisord
slapos supply --cfg /etc/opt/slapos/slapos.cfg https://lab.nexedi.com/nexedi/slapos/raw/1.0.324/software/theia/software.cfg local_computer slapos supply --cfg /etc/opt/slapos/slapos.cfg https://lab.nexedi.com/nexedi/slapos/raw/1.0.324/software/theia/software.cfg local_computer
......
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