bug fix: create directories if dont exist

This commit is contained in:
usman@cyberpersons.com
2023-02-04 12:15:20 +05:00
parent d575394f13
commit 5e7df1d459
3 changed files with 26 additions and 1 deletions

View File

@@ -1338,7 +1338,8 @@ autocreate_system_folders = On
command = 'mv %s %s' % (includeFileOldPath, includeFileNewPath)
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
command = "sed -i 's|autocreate_system_folders = Off|autocreate_system_folders = On|g' %s" % (labsPath)
#command = "sed -i 's|autocreate_system_folders = Off|autocreate_system_folders = On|g' %s" % (labsPath)
command = "sed -i 's|verify_certificate = On|verify_certificate = Off|g' %s" % (labsPath)
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
except BaseException as msg: