Fetching contributors…
Cannot retrieve contributors at this time
35 lines (33 sloc) 1.83 KB
Vagrant-Box: jessie
Precondition: sandstorm_not_installed
Cleanup: uninstall_sandstorm
$[run]sudo cat /proc/sys/kernel/unprivileged_userns_clone
$[run]read line ; echo $line > /tmp/sandcats-domain-name ; echo ok
$[run]echo insecureExampleAdminToken > /tmp/admin-token ; echo ok
$[run]curl -k --data ''$(</tmp/sandcats-domain-name) > /tmp/json; echo ok
$[run]cat /tmp/json| sed -r 's/.*.token.:.([a-zA-Z0-9]*).*/\1/' > /tmp/domain-reservation-token ; echo ok
$[run]sudo ADMIN_TOKEN=$(</tmp/admin-token) CHOSEN_INSTALL_MODE=1 SANDCATS_DOMAIN_RESERVATION_TOKEN=$(</tmp/domain-reservation-token) DESIRED_SANDCATS_NAME=$(</tmp/sandcats-domain-name) CURL_USER_AGENT=testing REPORT=no OVERRIDE_SANDCATS_API_BASE= OVERRIDE_SANDCATS_CURL_PARAMS=-k bash /vagrant/ -d -p 80
$[slow]As a Sandstorm user, you are invited to use a free Internet hostname as a subdomain of
$[veryslow]Registering your pre-reserved domain
$[slow]Congratulations! We have registered your
Your credentials to use it are in /opt/sandstorm/var/sandcats; consider making a backup.
$[slow]Now we're going to auto-configure HTTPS for your server.
$[veryslow]Requesting certificate
$[veryslow]GPG signature is valid.
$[veryslow]Sandstorm started. PID =
$[veryslow]Visit this link to start using it:
To learn how to control the server, run:
sandstorm help
$[run]sudo -u sandstorm cat /opt/sandstorm/var/sandstorm/adminToken; echo
$[run]for i in `seq 0 20`; do nc -z localhost 80 && { echo yay; break; } || sleep 1 ; done