Update redirect for tripleo_upgrade_node.sh for CephStorage.
major_upgrade_ceph_storage.sh directly redirects to file tripleo_upgrade_node.sh, used for non-controller upgrade. This causes declaration of update_os_net_config to be lost, e.g: line 26: update_os_net_config: command not found Closes-Bug: 1748469 Change-Id: I8d5febea541fc89affba3bdb9071cc11ecefce42
This commit is contained in:
parent
257bbffacf
commit
7582128434
|
@ -9,7 +9,7 @@ set -o pipefail
|
|||
UPGRADE_SCRIPT=/root/tripleo_upgrade_node.sh
|
||||
|
||||
declare -f update_os_net_config > $UPGRADE_SCRIPT
|
||||
declare -f special_case_ovs_upgrade_if_needed > $UPGRADE_SCRIPT
|
||||
declare -f special_case_ovs_upgrade_if_needed >> $UPGRADE_SCRIPT
|
||||
declare -f update_network >> $UPGRADE_SCRIPT
|
||||
# use >> here so we don't lose the declaration we added above
|
||||
cat >> $UPGRADE_SCRIPT << 'ENDOFCAT'
|
||||
|
|
Loading…
Reference in New Issue