Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.82 KB | None | 0 0
  1. [DEFAULT]
  2. # The location of the WIM file from the mounted Windows ISO.
  3. wim_file_path=D:\Sources\install.wim
  4. # This is the complete name of the Windows version that will be generated.
  5. # In order to find the possible options, use the Get-WimFileImagesInfo command
  6. # and look for the Name property.
  7. image_name=Windows Server 2016 SERVERSTANDARD
  8. # The destination of the generated image.
  9. image_path=C:\Users\atira\Desktop\Image_creation\5_Gold\test_dan.vhdx
  10. # Select between VHD, VHDX, QCOW2, VMDK or RAW formats.
  11. virtual_disk_format=VHDX
  12. # This parameter allows to choose between MAAS, KVM, VMware and Hyper-V specific images.
  13. # For HYPER-V, cloudbase-init will be installed and the generated image should be in vhd or vhdx format.
  14. # For MAAS, in addition to cloudbase-init, the curtin tools are installed
  15. # and the generated image should be in raw.tgz format.
  16. # For KVM, in addition to cloudbase-init, the VirtIO drivers are installed
  17. # and the generated image should be in qcow2 format.
  18. image_type=HYPER-V
  19. # This parameter can be set to either BIOS or UEFI.
  20. disk_layout=BIOS
  21. # The product key for the selected OS.
  22. product_key=""
  23. # A comma separated array of extra features that will be enabled on the resulting image.
  24. # These features need to be present in the ISO file.
  25. extra_features=""
  26. # A comma separated array of extra capabilities that will be enabled on the resulting image.
  27. # These capabilities need to be present in the ISO file.
  28. extra_capabilities=""
  29. # It will force the image generation when RunSysprep is False or the selected SwitchName
  30. # is not an external one. Use this parameter with caution because it can easily generate
  31. # unstable images.
  32. force=False
  33. # If set to true, MAAS Windows curtin hooks will be copied to the image root directory.
  34. install_maas_hooks=True
  35. # Select between tar, gz, zip formats or any combination between these.
  36. compression_format=""
  37. # If this parameter is set, after the image is generated,
  38. # a password protected zip archive with the image will be created.
  39. zip_password=""
  40. # It will stop the image generation after the updates are installed and cleaned.
  41. gold_image=False
  42. # This is the full path of the already generated golden image.
  43. # It should be a valid VHDX path.
  44. gold_image_path=""
  45. # This is a full path to the VMware-tools.exe version that you want to install.
  46. vmware_tools_path=""
  47. # This is the full path of a folder with custom resources which will be used by
  48. # the custom scripts.
  49. # The resources found at this path will be copied recursively to the image
  50. # UnattendResources\CustomResources folder.
  51. custom_resources_path=""
  52. # This is the full path of the folder which can contain a set of PS scripts,
  53. # that will be copied and executed during the online generation part on the VM.
  54. # The PowerShell scripts, if existent, will be started by Logon.ps1 script,
  55. # at different moments during image generation.
  56. # The purpose of these scripts is to offer to the user a fully
  57. # customizable way of defining additional logic for tweaking the final image.
  58. # The scripts files can have the following names: RunBeforeWindowsUpdates.ps1,
  59. # RunAfterWindowsUpdates.ps1, RunBeforeCloudbaseInitInstall.ps1, RunAfterCloudbaseInitInstall.ps1,
  60. # RunBeforeSysprep.ps1, RunAfterSysprep.ps1.
  61. # The script names contain the information on when the script will be executed.
  62. # One can define only some of the hook scripts and it is not mandatory to define all of them.
  63. # If a script does not exist, it will not be executed.
  64. custom_scripts_path=""
  65. # If set to true the Administrator account will be enabled on the client
  66. # versions of Windows, which have the Administrator account disabled by default
  67. enable_administrator_account=False
  68. # If set, it will replace the Cloudbase Solutions wallpaper to the one specified.
  69. # The wallpaper needs to be a valid .jpg/.jpeg image.
  70. wallpaper_path=""
  71. # If set, it will replace the Cloudbase Solutions wallpaper to a solid color.
  72. # Currently, the only allowed solid color is '0 0 0' (black).
  73. # If both wallpaper_path and wallpaper_solid_color are set,
  74. # the script will throw an error.
  75. wallpaper_solid_color=""
  76. # If set to true and the target image format is QCOW2, the image conversion will
  77. # use qemu-img built-in compression. The compressed qcow2 image will be smaller, but the conversion
  78. # will take longer time.
  79. compress_qcow2=False
  80. # If set to true, during final cleanup, https://github.com/felfert/ntfszapfree will be used to zero unused space.
  81. # This helps qemu-img to minimize image size. In order to benefit from this, an additional invocation
  82. # of qemu-img convert has to be performed after the initial run of the image has shutdown.
  83. zero_unused_volume_sectors=False
  84. # A comma separated list of extra packages (referenced by filepath)
  85. # to slipstream into the underlying image.
  86. # This allows additional local packages, like security updates, to be added to the image.
  87. extra_packages=""
  88. [vm]
  89. # This will be the Administrator user's, so that AutoLogin can be performed on the instance,
  90. # in order to install the required products,
  91. # updates and perform the generation tasks like sysprep.
  92. administrator_password=Pa$$w0rd
  93. # Used to specify the virtual switch the VM will be using.
  94. # If it is specified but it is not external or if the switch does not exist,
  95. # you will get an error message.
  96. external_switch=mgmt
  97. # The number of CPU cores assigned to the VM used to generate the image.
  98. cpu_count=1
  99. # RAM (in bytes) assigned to the VM used to generate the image.
  100. ram_size=2147483648
  101. # Disk space (in bytes) assigned to the VM used to generate the image.
  102. disk_size=42949672960
  103. [drivers]
  104. # The path to the ISO file containing the VirtIO drivers.
  105. virtio_iso_path="C:\_ISOs\Virtio\virtio-win-0.1.160.iso"
  106. # The location where the VirtIO drivers are found.
  107. # For example, the location of a mounted VirtIO ISO. VirtIO versions supported >=0.1.6.x
  108. virtio_base_path=""
  109. # The location where additional drivers that are needed for the image are located.
  110. drivers_path=""
  111. [updates]
  112. # If set to true, the latest updates will be downloaded and installed.
  113. install_updates=False
  114. # If set to true, will run DISM with /resetbase option. This will reduce the size of
  115. # WinSXS folder, but after that Windows updates cannot be uninstalled.
  116. purge_updates=False
  117. [sysprep]
  118. # Used to clean the OS on the VM, and to prepare it for a first-time use.
  119. run_sysprep=True
  120. # The path to the Unattend XML template file used for sysprep.
  121. unattend_xml_path=UnattendTemplate.xml
  122. # DisableSwap option will disable the swap when the image is generated and will add a setting
  123. # in the Unattend.xml file which will enable swap at boot time during specialize step.
  124. # This is required, as by default, the amount of swap space on Windows machine is directly
  125. # proportional to the RAM size and if the image has in the initial stage low disk space,
  126. # the first boot will fail due to not enough disk space. The swap is set to the default
  127. # automatic setting right after the resize of the partitions is performed by cloudbase-init.
  128. disable_swap=False
  129. # In case the hardware on which the image is generated will also be the hardware on
  130. # which the image will be deployed this can be set to true, otherwise the spawned
  131. # instance is prone to BSOD.
  132. persist_drivers_install=True
  133. [cloudbase_init]
  134. # This is a switch that allows the selection of Cloudbase-Init branches. If set to true, the
  135. # beta branch will be used:
  136. # https://cloudbase.it/downloads/CloudbaseInitSetup_<arch>.msi, where arch can be x86 or x64
  137. # otherwise the stable branch will be used:
  138. # https://cloudbase.it/downloads/CloudbaseInitSetup_Stable_<arch>.msi, where arch can be x86 or x64
  139. beta_release=False
  140. # Serial log port for Cloudbase-Init.
  141. # If set to null, the first serial port (if any) from the generation VM will be used
  142. serial_logging_port=COM1
  143. # If set, the Cloudbase-Init msi at this path will be used.
  144. # The path needs to be a locally accesible file path.
  145. msi_path=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement