From a515e835bb5aef9cf4757ef3ac79f61ae560296a Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 18 Aug 2015 13:58:45 +0100 Subject: [PATCH] Set iptables-persistent install execution to append to log This patch sets the command to install the iptables-persistent package in the run-playbooks script to append its output to the existing log instead of overwriting it. This is to ensure that outputs from both commands are captured, not just the second one. Change-Id: I4d45382cb44c5f811818fe1229a63e6a2c2ecdee Partial-Bug: #1485917 --- scripts/run-playbooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-playbooks.sh b/scripts/run-playbooks.sh index 4dd42d7f8a..8eacc10704 100755 --- a/scripts/run-playbooks.sh +++ b/scripts/run-playbooks.sh @@ -124,7 +124,7 @@ pushd "playbooks" ansible neutron_agent -m shell \ -a 'DEBIAN_FRONTEND=noninteractive apt-get install iptables-persistent' \ -t "${COMMAND_LOGS}/add_neutron_agent_checksum_rule" \ - &> ${COMMAND_LOGS}/add_neutron_agent_checksum_rule.log + &>> ${COMMAND_LOGS}/add_neutron_agent_checksum_rule.log fi fi