Commit Graph

4 Commits

Author SHA1 Message Date
Stan Lagun dfc51525f3 Remove python-dev from list of preinstalled packages
python-dev package causes cloud-init to fail on Fedora-based
distros because the package is called python-devel there.
Since this package is present in python-pip recommended dependencies
and thus going to be installed anyway, there is no need to include
it explicitly. With this fix it becomes possible to use bare
Fedora cloud image with murano.

Change-Id: I276839b9ba772d8f0a6bac975b204b0308839170
2018-01-10 20:17:07 +00:00
Jose Phillips 087db8cc5b Set the desired hostname to a instance using murano instead of Murano Pattern
Without this patch all the instances are deployed with the following
hostname: Murano-RandomID-HOSTNAME-randomID

With this Patch the new instances will be deployed just with the hostname.

This is more benefit on Windows instances where the recommended
length for the hostname is 15 characters.

Change-Id: I8c9867481071b2ae09c3ea17cba4c535759aaf58
Closes-Bug: #1605786
2016-09-05 08:02:06 +00:00
Omar Shykhkerimov 54e115c60b Do not upgrade packages with cloud-init
This patch deletes 'package_upgrade: true' option from cloud-init confs.
It caused upgrading of all the packages in the images spawned by murano.
This made spawning VMs slow and in certain cases caused
dpkg locks be still in place when murano-agent attempted to
install packages

Change-Id: I440d2985f9122dad53c81b15148e60df4e7e9583
Closes-Bug: 1548857
2016-03-30 08:07:11 +00:00
Henar Muñoz Frutos e089f7989e Install murano-agent by cloud-init
Adding a murano-init script to install murano-agent by cloud init
in the LinuxMuranoInstance.

Change-Id: I080fe14a61b9af468ba1ae2e26dd85196a563449
Targets-blueprint: cloud-init-deployable-agent
2016-01-20 15:10:00 +00:00