mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3843: remove greedy results in save_password_to_domr.sh
This commit is contained in:
parent
e4de46e4b1
commit
e34a75005e
@ -29,7 +29,7 @@ replace_in_file_on_domr() {
|
||||
local filename=$1
|
||||
local keyname=$2
|
||||
local value=$3
|
||||
$VIA_SSH "sed -i /$keyname/d $filename; \
|
||||
$VIA_SSH "sed -i /$keyname=/d $filename; \
|
||||
echo "$keyname=$value" >> $filename "
|
||||
|
||||
# $VIA_SSH "sed -e /$keyname/d $filename > $filename.new; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user