X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e11cdd5476f7f1a456ece94862c211a1b83b093c..8af4d9d694c4491601cb6f9394b811fc36f13cb2:/code/controls.py diff --git a/code/controls.py b/code/controls.py index d4cc13b..8a5f1ef 100644 --- a/code/controls.py +++ b/code/controls.py @@ -132,7 +132,7 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz open_nics = NIC.select_by(machine_id=None) if not open_nics: #No IPs left! raise CodeError("No IP addresses left! " - "Contact xvm@mit.edu.") + "Contact %s." % config.web.errormail) nic = open_nics[0] nic.machine_id = machine.machine_id nic.hostname = name