summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcreateAndExportDisk.py2
-rw-r--r--shared.py1
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)
diff --git a/shared.py b/shared.py
index a150ea7..be9e457 100644
--- a/shared.py
+++ b/shared.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
#coding: UTF-8
import subprocess
import sys