Skip to content

Commit

Permalink
use rsync to copy keys
Browse files Browse the repository at this point in the history
  • Loading branch information
bdzim committed May 24, 2018
1 parent 7a59eb1 commit 414df95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrade/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ else
echo "agent_config.json hasn't changed"
fi

\cp -rf /opt/openmanage.$CURRENT_DATE/etc/keys/* /opt/openmanage/etc/keys
rsync /opt/openmanage.$CURRENT_DATE/etc/keys/* /opt/openmanage/etc/keys

echo "Setting django secret key"
random_string="$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c 64;echo;)"
Expand Down

0 comments on commit 414df95

Please sign in to comment.