incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject git commit: Use /tmp as temporary location for injecting SSH keys into systemvm.iso
Date Thu, 27 Sep 2012 17:02:03 GMT
Updated Branches:
  refs/heads/master 21ff7c4e7 -> 82e57f8f4


Use /tmp as temporary location for injecting SSH keys into systemvm.iso

When starting the management server with 'sudo' the $HOME will be set to the user calling
sudo.

This fixes CLOUDSTACK-218


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/82e57f8f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/82e57f8f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/82e57f8f

Branch: refs/heads/master
Commit: 82e57f8f40e73783f600e1925ca335c41eb54595
Parents: 21ff7c4
Author: Wido den Hollander <wido@widodh.nl>
Authored: Thu Sep 27 18:58:31 2012 +0200
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Thu Sep 27 18:58:31 2012 +0200

----------------------------------------------------------------------
 scripts/vm/systemvm/injectkeys.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/82e57f8f/scripts/vm/systemvm/injectkeys.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/systemvm/injectkeys.sh b/scripts/vm/systemvm/injectkeys.sh
index e628b16..e56eb85 100755
--- a/scripts/vm/systemvm/injectkeys.sh
+++ b/scripts/vm/systemvm/injectkeys.sh
@@ -23,7 +23,7 @@
 
 #set -x
 
-TMP=${HOME}/tmp
+TMP=/tmp
 MOUNTPATH=${HOME}/systemvm_mnt
 TMPDIR=${TMP}/cloud/systemvm
 
@@ -80,7 +80,6 @@ systemvmpath=$3
 command -v mkisofs > /dev/null   || (echo "$(basename $0): mkisofs not found, please install
or ensure PATH is accurate" ; exit 4)
 
 inject_into_iso systemvm.iso $newpubkey
-#inject_into_iso systemvm-premium.iso $newpubkey
 
 [ $? -ne 0 ] && exit 5
 


Mime
View raw message