From 30413153bdc858fa866323582da7cd7da6325752 Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 15 Oct 2019 14:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A02001=20b=5FN=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/ss_virtual_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/ss_virtual_create.py b/ops/ss_virtual_create.py index 528f45a..949af75 100644 --- a/ops/ss_virtual_create.py +++ b/ops/ss_virtual_create.py @@ -20,7 +20,7 @@ class SS_Virtual_command: self.loginName = "root" self.password = "kingsome2016" - def run_cmd(cmd): + def run_cmd(self, cmd): import subprocess msg = "Starting run: %s " % cmd print("run_cmd {0}".format(msg))