my eye

Stash machine bootstrap secret in database

Committed 8f8503

--- a/webint_sites/__init__.py
+++ b/webint_sites/__init__.py

 def spawn_machine(name, package, app, config):
     """Spin up a VPS and setup a machine."""
     machine, secret = web.host.setup_website(name, package, app, config)
-    print(machine, secret)
-    tx.db.insert("machines", name=name, ip_address=machine.address, details={})
+    tx.db.insert(
+        "machines", name=name, ip_address=machine.address, details={"secret": secret}
+    )
 
 
 def build(ip_address, program):