# Run command:
slapprepare
# After a few seconds, it will ask you a few questions:
Automatically register new computer to Vifib? [y,n]:
# If you don't have any configuration ready answer "Y" else "N"
# You will be asked for a name of a computer. As name put something you will remenber as identification.
Do you want the setup to allow virtual machines inside this node?
# It is safer to answer "no" here, as a virtual machine inside a virtual machine has no sense.
Number of SlapOS partitions for this computer?
# You can put the value you want. We advise a 20.
Is this a virtual Machine? [y,n]:
# Answer "y"
Do you want to use vpn to provide ipv6? [y,n]:
# It is better to put "y" to have a more stable ipv6
Do you want to force the use lxc on this computer? [y,n]:
# If you plan to use LXC on this container answer 'y' else 'no'
Do you want a remote ssh access? [y,n]:
# WARNING: Slapprepare install a boot script which reset root password after this run and on each boot.
If you do not want to loose access to your computer answer 'Y' and prepare a valide ssh public key available on internet
# A dialog will then ask you to confirm this values. If everything seems right, you can confirm.
You will be asked for your slapos community login and password.
You will also be asked for a ssh key. Enter the url of your public ssh key.
Once all software is installed, SlapOS will format the server.
Formatting the server in SlapOS world means that 100 IPv6 adresses
and 100 tap interfaces will be created and bridged. 100 users and
100 directories will also be created. Every resource which is
executed on a SlapOS server is attached to its dedicated address,
user and directory. This creates a simple form of compartment
between processes without the overload of virtualization or chrooting.
The result of server formatting is the uploaded to https://www.slapos.org.
Note about slapos configuration: If you already have your slapos configuration (slapos.cfg, certificate, key) place it in "/etc/opt/slapos/" or "/etc/slapos" before running "slapprepare" command. To use ipv6 provided by vifib add line "ipv6_interface = tapVPN" in [slapformat] part in slapos.cfg .
Note about ipv6: If you don't have ipv6 on your network the key will connect automaticaly in vpn to a server to get a reliable ipv6. If your ipv6 connection is not reliable you can force the use of Vifib ipv6 by naming a file "openvpn-needed" in the directory containing slapos.cfg (by default /etc/opt/slapos/) .