diff options
author | Lusheng Ji <lji@research.att.com> | 2017-10-25 21:06:10 -0400 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-10-26 02:36:29 +0000 |
commit | a3069b261d1e029f32d77f6aa8e78478f1354b21 (patch) | |
tree | e512315183b19f0ac3c2306306867c6e85ba94eb /boot/dcae2_install.sh | |
parent | e844f8546761abb71c125bac08022cdc5671405c (diff) |
Fix text substitution keyname typo
Also write priv key file replacing \n with linei break
Issue-Id: DCAEGEN2-127
Change-Id: I2090fd074c12eb3b5c98dbd58353e3b9960088bf
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'boot/dcae2_install.sh')
-rw-r--r-- | boot/dcae2_install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/dcae2_install.sh b/boot/dcae2_install.sh index 59c8e5ed..a03e30bd 100644 --- a/boot/dcae2_install.sh +++ b/boot/dcae2_install.sh @@ -76,7 +76,7 @@ mkdir -p /opt/app/config # private key -cp /opt/config/priv_key /opt/app/config/key +sed -e 's/\\n/\n/g' /opt/config/priv_key | sed -e 's/^[ \t]*//g; s/[ \t]*$//g' > /opt/app/config/key chmod 777 /opt/app/config/key # move keystone url file |