Hello Group,

I'm trying to solve a problem to allow our operations team to deploy
sage in the simplest way with minimal interaction.

So far we have the following steps to go from tarball to running
remote notebooks:

(1)  Untar tarball

(2)  Drop into unpacked directory

(3)  Run ./sage, enter password when prompted

(4)  Exit sage

(5)  Run ./sage -c "notebook.setup()", enter hostname when prompted

(6)  Run ./sage -c "notebook(interface='')" &

And then we have a notebook server up and running, available to our
whole team.

But in order to deploy this using our automation tools we would like
to be able to run sage and set the admin password along with the
machine's hostname all on the bash command-line, replacing steps (3)
through (6) with one step, like so:

./sage -c "notebook(adminpassword='topsecret',
hostname='bob.example.com', interface='')" &

Is there a way to achieve this using the existing release code, and if
not how could we go about making it possible?

Thanks in advance!

Best
Andrew Musselman

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to