Changeset 2275
- Timestamp:
- Mar 26, 2009, 1:32:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/outage/outage-mail
r2252 r2275 21 21 msg['Reply-To'] = 'XVM <xvm@mit.edu>' 22 22 msg['From'] = opts.from_addr 23 msg['Subject'] = '[xvm] Unexpected reboot of your VM %s'% vm23 msg['Subject'] = opts.subject % vm 24 24 smtp.sendmail(opts.from_addr, 25 25 [contact, 'xvm@mit.edu'], … … 34 34 dest = 'message', 35 35 help = 'filename with body of message') 36 parser.add_option('-s', '--subject', 37 type = 'string', 38 dest = 'subject', 39 default = '[xvm] Unexpected reboot of your VM %s', 40 help = 'subject line of message; %s for VM name') 36 41 parser.add_option('-f', '--from', 37 42 type = 'string',
Note: See TracChangeset
for help on using the changeset viewer.