Updated Branches: refs/heads/4.1 cfff6708f -> 5696b1fd7
CLOUDSTACK-1750: remove -b option in cp call during key injection for systemvm Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/5696b1fd Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/5696b1fd Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/5696b1fd Branch: refs/heads/4.1 Commit: 5696b1fd7cc0f44d406600449a361e268b44070f Parents: cfff670 Author: Sebastien Goasguen <[email protected]> Authored: Wed Mar 20 16:57:51 2013 -0400 Committer: Sebastien Goasguen <[email protected]> Committed: Wed Mar 20 16:57:51 2013 -0400 ---------------------------------------------------------------------- scripts/vm/systemvm/injectkeys.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5696b1fd/scripts/vm/systemvm/injectkeys.sh ---------------------------------------------------------------------- diff --git a/scripts/vm/systemvm/injectkeys.sh b/scripts/vm/systemvm/injectkeys.sh index e56eb85..9f94678 100755 --- a/scripts/vm/systemvm/injectkeys.sh +++ b/scripts/vm/systemvm/injectkeys.sh @@ -63,7 +63,7 @@ inject_into_iso() { copy_priv_key() { local newprivkey=$1 diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0 - sudo cp -fb $newprivkey $(dirname $0)/id_rsa.cloud + sudo cp -f $newprivkey $(dirname $0)/id_rsa.cloud sudo chmod 644 $(dirname $0)/id_rsa.cloud return $? }
