error mail address, if we run out of IPs.
nic = NIC.query().filter_by(machine_id=None).filter_by(reusable=True).first()
if not nic: #No IPs left!
raise CodeError("No IP addresses left! "
nic = NIC.query().filter_by(machine_id=None).filter_by(reusable=True).first()
if not nic: #No IPs left!
raise CodeError("No IP addresses left! "
- "Contact %s." % config.web.errormail)
+ "Contact %s." % config.contact)
nic.machine = machine
nic.hostname = name
session.save_or_update(nic)
nic.machine = machine
nic.hostname = name
session.save_or_update(nic)
+invirt-web (0.1.20) unstable; urgency=low
+
+ * Tell users to contact us at our support address, not our
+ automated error mail address, if we run out of IPs.
+
+ -- Mitchell Berger <mitchb@mit.edu> Mon, 31 Oct 2011 20:38:00 -0400
+
invirt-web (0.1.19) unstable; urgency=low
* Fix path to gitweb static content
invirt-web (0.1.19) unstable; urgency=low
* Fix path to gitweb static content