diff --git a/DockerStandaloneHost/elements/readme.rst b/DockerStandaloneHost/elements/readme.rst index 7ab0d51..c580c1f 100644 --- a/DockerStandaloneHost/elements/readme.rst +++ b/DockerStandaloneHost/elements/readme.rst @@ -33,6 +33,16 @@ On Centos, Fedora: Image building -------------- +To build Debian-based image + +.. sourcecode:: bash + + sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/DockerStandaloneHost/elements \ + DIB_RELEASE=jessie DIB_CLOUD_INIT_DATASOURCES="Ec2, ConfigDrive, OpenStack" disk-image-create vm debian murano-agent-debian \ + docker -o debian8-x64-docker + +To build Ubuntu-based image + .. sourcecode:: bash sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/DockerStandaloneHost/elements disk-image-create \ diff --git a/DockerStandaloneHost/package/UI/ui.yaml b/DockerStandaloneHost/package/UI/ui.yaml index 269dae9..549a730 100644 --- a/DockerStandaloneHost/package/UI/ui.yaml +++ b/DockerStandaloneHost/package/UI/ui.yaml @@ -24,7 +24,7 @@ Application: type: io.murano.resources.LinuxMuranoInstance name: generateHostname($.instanceConfiguration.unitNamingPattern, 1) flavor: $.instanceConfiguration.flavor - image: 'ubuntu14.04-x64-docker' + image: $.instanceConfiguration.image keyname: $.instanceConfiguration.keyPair assignFloatingIp: $.appConfiguration.assignFloatingIP availabilityZone: $.instanceConfiguration.availabilityZone @@ -80,6 +80,13 @@ Forms: required: false hidden: true description: Specify some instance parameters on which the application would be created + - name: image + type: image + imageType: linux.docker + label: Instance image + description: >- + Select valid image for the application. Image should already be prepared and + registered in glance. - name: flavor type: flavor label: Instance flavor