Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. Log in to the Abiquo API Server as an administrator

  2. In the config folder, if there is no mail folder, create a mail folder and set the owner as the tomcat user

    /opt/abiquo/config/mail
  3. In the mail folder, create the following files

    1. Email file

      guestPasswordSMSTemplate_en_US.mustache

      Virtual machine:
      Uuid: {{vmuuid}} Name: {{vmname}} ProviderId: {{vmproviderid}}
      Password:
      {{loginpassword}}
    2. The additional content that you can add for this SMS is as follows

      Login user:
      {{loginuser}}
      Fully qualified domain name:
      {{fqdn}}
      User that created the VM:
      {{username}}
    3. Properties file 

      guestPasswordSMS_en_US.properties

      -
      1. By default the properties file is empty for the guest password SMS message

  4. Optionally add custom variables and content

    1. In the email body, to add a custom variable, use double curly braces (also called double mustaches). For example

      <p>Please call your system Administrator on <strong>{{helpline}}</strong></p>
    2. Then in your properties file, set value for your custom variable

      helpline=555 12345

      (tick) To return unescaped HTML as part of a template property, use the triple mustache, which is "{{{" and "}}}".
      The Mustache templating software that adds the property values will escape HTML variables in double mustaches by default.

  5. If your users have a language other than English, rename the file to change the language code to the user language 

    1. For example, for "Spanish - Spain" change the en_US to es_ES

    2. The user language is the UI language when you create the user

  6. Change the owner of the files to the tomcat user

  • No labels