[PATCH 5/5] Single quote values in show_parms() in linuxrc.s390 (#772970)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(cherry picked from commit 5543c36a6300cb238f4998de6835f71f4fb8d937)
---
 loader/linuxrc.s390 |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 9552c0c..4bc1e8c 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -2683,28 +2683,28 @@ function show_parms() {
     # For the time being, at least the parameters LAYER2, PORTNAME, and CTCPROT
     # only get asked on being empty if not running in kickstart mode.
     cat << EOF
-NETTYPE=$NETTYPE
-IPADDR=$IPADDR
-NETMASK=$NETMASK
-GATEWAY=$GATEWAY
-HOSTNAME=$HOSTNAME
+NETTYPE='$NETTYPE'
+IPADDR='$IPADDR'
+NETMASK='$NETMASK'
+GATEWAY='$GATEWAY'
+HOSTNAME='$HOSTNAME'
 EOF
-    [ "$SUBCHANNELS" ] && echo "SUBCHANNELS=$SUBCHANNELS"
-    [ "$LAYER2" ] && echo "LAYER2=$LAYER2"
-    [ "$VSWITCH" ] && echo "VSWITCH=$VSWITCH"
-    [ "$MACADDR" ] && echo "MACADDR=$MACADDR"
-    [ "$PORTNAME" ] && echo "PORTNAME=$PORTNAME"
-    [ "$PORTNO" ] && echo "PORTNO=$PORTNO"
-    [ "$PEERID" ] && echo "PEERID=$PEERID"
-    [ "$CTCPROT" ] && echo "CTCPROT=$CTCPROT"
+    [ "$SUBCHANNELS" ] && echo "SUBCHANNELS='$SUBCHANNELS'"
+    [ "$LAYER2" ] && echo "LAYER2='$LAYER2'"
+    [ "$VSWITCH" ] && echo "VSWITCH='$VSWITCH'"
+    [ "$MACADDR" ] && echo "MACADDR='$MACADDR'"
+    [ "$PORTNAME" ] && echo "PORTNAME='$PORTNAME'"
+    [ "$PORTNO" ] && echo "PORTNO='$PORTNO'"
+    [ "$PEERID" ] && echo "PEERID='$PEERID'"
+    [ "$CTCPROT" ] && echo "CTCPROT='$CTCPROT'"
     if [ -n "$mmtu_was_set" ]; then
-        echo "MMTU=\"$MMTU\""
+        echo "MMTU='$MMTU'"
     elif [ -n "$mtu_was_set" ]; then
-        echo "MTU=$MTU"
+        echo "MTU='$MTU'"
     fi
-    [ "$DNS" ] && echo "DNS=$DNS"
-    [ "$SEARCHDNS" ] && echo "SEARCHDNS=$SEARCHDNS"
-    [ "$DASD" ] && echo "DASD=$DASD"
+    [ "$DNS" ] && echo "DNS='$DNS'"
+    [ "$SEARCHDNS" ] && echo "SEARCHDNS='$SEARCHDNS'"
+    [ "$DASD" ] && echo "DASD='$DASD'"
 }
 
 function final_check() {
-- 
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux