Windows Server 1709

  1. Download the Cloudbase-Init installation package as instructed in Preparing Hardware and Software.

  2. Upload the package to the host and generate an ISO file.

    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 file 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. In the right pane, click Disconnect.

    3. Click Connect.

    4. Select the local ISO file and click Open in the upper right corner.

      image1

    5. Confirm the settings and click Apply.

  4. Copy the CloudbaseInitSetup_0_9_11_x64.msi installation package to drive C on the VM.

    1. Log in to the VM, click Start, enter cmd in the Type here to search box to open the command-line interface (CLI).

    2. Enter D:.

    3. Run the xcopy CloudbaseInitSetup_0_9_11_x64.msi C:\ command to copy the file.

      image2

  5. Install Cloudbase-Init.

    1. Enter C:.

    2. Run the CloudbaseInitSetup_0_9_11_x64.msi command and press Enter to start the installation.

      The default installation path of Cloudbase-Init is:

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

  6. Edit the Cloudbase-Init configuration file cloudbase-init.conf.

    Configure the file as instructed in 5.