Skip to content

Commit b7f1149

Browse files
committed
bug 9756: fix ssvm-check.sh, always get parameter from /var/run/cloud/cmdline
status 9756: resolved fixed
1 parent ca39855 commit b7f1149

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎console-proxy/scripts/ssvm-check.sh‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@
2424
# /proc/cmdline can have a different number of arguments depending on whether or not a second
2525
# DNS server is specified.
2626

27-
if [ -f /proc/cmdline ]
28-
then
29-
CMDLINE=/proc/cmdline
30-
else
31-
CMDLINE=/var/run/cloud/cmd_line
32-
fi
27+
28+
CMDLINE=/var/cache/cloud/cmdline
3329

3430

3531
# ping dns server

0 commit comments

Comments
 (0)