From a3069b261d1e029f32d77f6aa8e78478f1354b21 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Wed, 25 Oct 2017 21:06:10 -0400 Subject: 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 --- boot/dcae2_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot') 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 -- cgit 1.2.3-korg