cloudbuild/pkg/cloudbuilder/email-message.txt

34 lines
1.3 KiB
Plaintext

From: {{ .cfg.EmailSenderName }} <{{ .cfg.EmailSender }}>
To: {{ .cfg.EmailRecipient }}
Reply-To: {{ .cfg.EmailReplyTo }}
Subject: New VM Template: {{ .templateName }}
Date: {{ .date }}
Hello syscom,
This is an automated message from cloudbuild, the CSC VM template
builder.
A new VM template, {{ .templateName }}, has been uploaded to CloudStack.
It is not public. A new VM, {{ .vm.Name }}, has been created from this
template. You can SSH into this VM from biloba or chamomile by running
the following:
ssh -i /var/lib/cloudstack/management/.ssh/id_rsa {{ .vmUser }}@{{ (index .vm.Nic 0).IpAddress }}
Please login to the VM and verify that everything is working correctly.
Once you have done this, please login to CloudStack with the admin account
and perform the following:
1. Delete the VM (enable the "Expunge" option too).
2. Make the template public:
From the web page for the template, click the "Update Template Sharing"
circular button in the top right corner, and toggle the "Public"
and "Featured" sliders.
3. Delete the old template (if it is not being used by any VMs):
From the web page for the old template, click the "Zones" tab, then
press the red circular "Delete" button beside "{{ .cfg.CloudstackZoneName }}".
Sincerely,
cloudbuild