• Bare Metal Server

  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Windows Image
  5. Installing Cloudbase-Init
  6. Windows Server 1709

Windows Server 1709

  1. Download Cloudbase-Init from https://cloudbase.it/cloudbase-init/#download.
  2. Upload the Cloudbase-Init installation package to the host and generate an ISO image.

    Upload the installation package to the host.

    [root@server nl]# ll
    total 4390172
    -rw-r--r--. 1 root root    41070592  Sep 26 07:33 CloudbaseInitSetup_0_9_11_x64.msi
    -rw-r--r--. 1 qemu qemu  4413020160  Sep 26 02:36 

    Run the following command in the directory where the installation package is stored:

    mkisofs -L -R -J -T -V system-sp2 -o software.iso CloudbaseInitSetup_0_9_11_x64.msi

  3. Mount the generated ISO image to the VM and install Cloudbase-Init.
    1. On virt-manager, choose View > Details.
    2. In the navigation pane on the left, choose IDE CDROM 1 and click Disconnect in the right pane.
    3. Click Connect.
    4. Select a local ISO file and click Open in the upper right corner.

    5. Check the information and click Apply.
  4. Copy the CloudbaseInitSetup_0_9_11_x64.msi installation package to the drive C: of the VM.
    1. Enter the VM OS, click Start, enter cmd in the Search programs and files box, and press Enter to open the command-line interface.
    2. Enter D: and press Enter.
    3. Run the xcopy CloudbaseInitSetup_0_9_11_x64.msi C:\ command to copy the CloudbaseInitSetup_0_9_11_x64.msi installation package to the drive C: of the VM.

  5. Install Cloudbase-Init.
    1. Enter C: and press Enter to enter drive C:.
    2. Run the CloudbaseInitSetup_0_9_11_x64.msi command and press Enter to install Cloudbase-Init.

      The following shows the default installation path of Cloudbase-Init.

      C:\Program Files\Cloudbase Solutions\Cloudbase-Init

  6. Edit the Cloudbase-Init configuration file in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf directory as follows:

    For details, see step 5.