Opened 5 years ago

Closed 5 years ago

#6037 closed enhancement (fixed)

Create a configuration file from where to read the contextualisation text

Reported by: minondoa Owned by: minondoa
Priority: minor Milestone: DRM4G-2.6.1
Component: DRM4G Keywords: drm4g, contextualisation
Cc: carlos


Instead of having the VM configuration text "hard-coded", maybe it's better to have it read from a configuration file?
That way, more advanced users will be able to modify it as they see fit.

Change History (4)

comment:1 Changed 5 years ago by minondoa

  • Milestone set to DRM4G-2.6.1

For the next release, a virtual machine contextualisation file will be added, for those who wish to change it and create their own.

comment:2 Changed 5 years ago by minondoa

  • Resolution set to fixed
  • Status changed from new to closed

Added new contextualisation file 'cloud_config' so that user may control how their new VM will be configured.

comment:3 Changed 5 years ago by minondoa

  • Resolution fixed deleted
  • Status changed from closed to reopened

We will add a new key to the configuration file with which the user will be able to point to a custom contextualisation file.

  • vm_config - it will be optional, if none is specified, "cloud_config.conf" will be used by default

comment:4 Changed 5 years ago by minondoa

  • Resolution set to fixed
  • Status changed from reopened to closed

The user can define a vm_config key (OPTIONAL) in his configuration file. Its value has to be the path to his custom contextualisation file.

If they define a different contextualisation file than the one used by default ($DRM4G_DIR/.drm4g/etc/cloud_config.conf), then they'll have to fill it out completely. They'll be responsible of writing the right user name and public key.

  • They'll still need to define the vm_user and private_key in their configuration file.
    • the vm_user is so that the DRM4G will list the correct user name with the information of the VM
    • the private_key is still necessary to connect to to the resource that will be creating the VMs
Note: See TracTickets for help on using tickets.