Commit 095e35c7 by Guba Sándor Committed by Őry Máté

do not call external command for symlinking

parent d167321e
......@@ -202,10 +202,9 @@ class Disk(object):
raise Exception('Image Base does not exists: %s' % self.get_base())
# Build list of Strings as command parameters
if self.format == 'iso':
cmdline = ['ln',
'-s',
self.get_base(),
self.get_path()]
os.symlink(self.get_base(), self.get_path())
elif self.format == 'raw':
raise NotImplemented()
else:
cmdline = ['qemu-img',
'create',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment