bug 9756: fix ssvm-check.sh, always get parameter from /var/run/cloud/cmdline

status 9756: resolved fixed
This commit is contained in:
Edison Su 2011-08-09 10:41:30 -07:00
parent ca39855417
commit b7f1149acc

View File

@ -24,12 +24,8 @@
# /proc/cmdline can have a different number of arguments depending on whether or not a second
# DNS server is specified.
if [ -f /proc/cmdline ]
then
CMDLINE=/proc/cmdline
else
CMDLINE=/var/run/cloud/cmd_line
fi
CMDLINE=/var/cache/cloud/cmdline
# ping dns server