Correct typo in the restore-ssh-host-keys element

Removed excess quote on the mv command line that breaks the
element from working, as the expansion by the shell is required
to copy the files.

Change-Id: Icf3ff28b6bb28803e29d8eebc83a2d2f429f972d
This commit is contained in:
Julia Kreger 2015-01-26 19:13:11 -05:00
parent c860ce6d3b
commit af03b8e5b6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [ -d "$KEYS_DIR" ]; then
echo "Waiting until cloud-init has completed SSH configuration."
sleep 1
done
mv -f ${KEYS_DIR}/ssh_host_*" /etc/ssh/ && rm -rf "$KEYS_DIR"
mv -f ${KEYS_DIR}/ssh_host_* /etc/ssh/ && rm -rf "$KEYS_DIR"
grep -q -F 'VersionAddendum TRIPLEO_HK_RESTORED' /etc/ssh/sshd_config || echo 'VersionAddendum TRIPLEO_HK_RESTORED' >> /etc/ssh/sshd_config
os-svc-restart -n ssh
fi