diff options
-rwxr-xr-x | createAndExportDisk.py | 2 | ||||
-rw-r--r-- | shared.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/createAndExportDisk.py b/createAndExportDisk.py index f343b80..125f957 100755 --- a/createAndExportDisk.py +++ b/createAndExportDisk.py @@ -34,7 +34,7 @@ diskSize, diskSizeUnit = parseDiskSize(options.size) pl = ProgressLogger(3) -lf = openLogFile() +lf = openLogFile(sys.argv[0] + "-" + vmName) pl.start('create logical volume') execute(["lvcreate", "-n", vmName, "-L", str(diskSize) + str(diskSizeUnit)],lf) @@ -1,4 +1,3 @@ -#!/usr/bin/python3 #coding: UTF-8 import subprocess import sys |