tripleo-heat-templates/environments/major-upgrade-composable-steps.yaml
mandreou 55864c9e75 Remove the os-net-config element config.json template
On upgrade from environments earlier than Pike we should remove
this file as it can cause problems with post-upgrade reboots
see bug for more info.

Change-Id: If7f4bef3a79a881f003ee42f62fe51c537004e2a
Related-Bug: 1758161
2018-03-26 14:41:38 +00:00

16 lines
587 B
YAML

#DEPRECATED: This environment file was last used for upgrades to stable/pike.
parameter_defaults:
EnableConfigPurge: true
StackUpdateType: UPGRADE
UpgradeLevelNovaCompute: auto
UpgradeInitCommonCommand: |
#!/bin/bash
set -eu
yum install -y python-heat-agent-*
yum update -y ansible
yum install -y ansible-pacemaker
# Remove the element os-net-config config.json https://bugs.launchpad.net/tripleo/+bug/1758161/
rm /usr/libexec/os-apply-config/templates/etc/os-net-config/config.json || true
MigrationSshPort: 22
UpgradeRemoveUnusedPackages: false