467d84c620
* Separate OSTYPE specific tasks/files. * Keep only common tasks and files in the playbooks dir. TODO pxe case to be working for centos as well note, the cmtools.sh installs ansible 2.0.1.0 in centos7, while we have 2.0.0.2 for ubuntu trusty note, the base.yaml installs python-keystoneclient 1:1.3.0-1.el7 from kilo-2 (no juno for centos7), while for ubuntu we have one from juno note, there is no pygraphviz for centos7, see also https://bugs.launchpad.net/fuel/+bug/1510884 Closes-bug: #1548851 Change-Id: Icec5637f9242104322d1104725f9f132d1ca16f0 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
12 lines
263 B
Bash
12 lines
263 B
Bash
#!/bin/bash -eux
|
|
|
|
if [[ $UPDATE =~ true || $UPDATE =~ 1 || $UPDATE =~ yes ]]; then
|
|
echo "==> Updating non kernel packages"
|
|
yum --exclude=kernel* update
|
|
echo "==> Upgrading all"
|
|
yum upgrade yum kernel
|
|
yum -y upgrade
|
|
reboot
|
|
sleep 160
|
|
fi
|