SHARE
TWEET

Untitled

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