Issue

Due to licensing or media restrictions a customer may need to create multiple language specific base images.

By default each base image will have the same file name which causes a problem as it is not possible to have 3 files with the same filename in the same folder.

Solution

Modify the projects.ini file to change the base image name for each project. In this scenario the language short code will be appended to the image file name. This allows multiple file names to be referenced under the "os" folder structure.

Procedures

Done Task
 
1. Identify issue
 
2. Update project.ini file
 
3. Test
  1. Identify issue

    A customer has 3 different base images/projects:

    • Project1 = Windows 7 Professional SP1 (x64) - de-DE MAK

    • Project2 = Windows 7 Professional SP1 (x64) - en-EN MAK

    • Project3 = Windows 7 Professional SP1 (x64) - fr-FR MAK

  2. When attempting to set up these projects by default we would need to have 3 win7-sp1-pro-x64-postsp.zmg files required under ../content-repo/images/os/win7-sp1-pro-x64 folder structure.

  3. Update project.ini file

    • Browse to the "/tftp/zimfiles/" folder on your ZENworks imaging server

    • Open "projects.ini" file in notepad

    • Review the project.ini file:
      ;
      ;  ENGL Zim projects.ini lookup file
      ;
      
      
      [projects]
      project1 = Windows 7 Professional SP1 (x64) - de-DE MAK
      project2 = Windows 7 Professional SP1 (x64) - en-EN MAK
      project3 = Windows 7 Professional SP1 (x64) - fr-FR MAK
      
      
      ;  Project details
      [Windows 7 Professional SP1 (x64) - de-DE MAK]
      Description        = Windows 7 Professional SP1 (x64) - de-DE MAK
      project_image_path = w7sp1-x64-de
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      
      
      [Windows 7 Professional SP1 (x64) - en-EN MAK]
      Description        = Windows 7 Professional SP1 (x64) - en-EN MAK
      project_image_path = w7sp1-x64-en
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      
      [Windows 7 Professional SP1 (x64) - fr-FR MAK]
      Description        = Windows 7 Professional SP1 (x64) - fr-FR MAK
      project_image_path = w7sp1-x64-fr
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      
      


    • For each project the following paths are used: 
      • The base image (<base_image>) is restored from "os/<project_os>" folder.

      • Project images (novcomp and ztoolkit) are restored from the "projects/<project_image_path> folder.

      • Drivers are restored from the "drivers/<driver_os>" folder.

    •  To change the base image file we can therefore manually modify the projects.ini file to change each individual projects "base_image" setting.

       In this scenario we will append the language code to the image name. i.e. "-de","-en" and "-fr".

       The projects.ini file will now look like: 
      ;
      ;  ENGL Zim projects.ini lookup file
      ;
      
      
      [projects]
      project1 = Windows 7 Professional SP1 (x64) - de-DE MAK
      project2 = Windows 7 Professional SP1 (x64) - en-EN MAK
      project3 = Windows 7 Professional SP1 (x64) - fr-FR MAK
      
      
      ;  Project details
      [Windows 7 Professional SP1 (x64) - de-DE MAK]
      Description        = Windows 7 Professional SP1 (x64) - de-DE MAK
      project_image_path = w7sp1-x64-de
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp-de
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      
      
      [Windows 7 Professional SP1 (x64) - en-EN MAK]
      Description        = Windows 7 Professional SP1 (x64) - en-EN MAK
      project_image_path = w7sp1-x64-en
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp-en
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      
      [Windows 7 Professional SP1 (x64) - fr-FR MAK]
      Description        = Windows 7 Professional SP1 (x64) - fr-FR MAK
      project_image_path = w7sp1-x64-fr
      project_os         = win7-sp1-pro-x64
      partition_count    = 2
      driver_os          = win7-x64
      base_image         = win7-sp1-pro-x64-postsp-fr
      ztoolkit           = ztoolkit
      novcomp            = novcomp
      


    • Save the file

    •  Zim will now restore the language specific image file required for the project.
  4. Test

    • PXE boot a workstation to ZENworks Imaging Environment.

    • Restore each of the language specific projects in turn. The correct base image will now restore from the appropriate folder on the server.

    • Note by modifying the projects.ini file the "Maintenance Menu -> Development Menu -> Make an image" option will now also create an appropriately named base image.