Help Center> Bare Metal Server> Private Image Creation Guide> Windows> (Optional) Installing bms-network-config
Updated on 2023-09-04 GMT+08:00

(Optional) Installing bms-network-config

Scenario

network-config works with Cloudbase-Init to configure the BMS network.

Prerequisites

  • You have logged in to the VM.
  • Cloudbase-Init has been installed.

Procedure

  1. Download the bms-network-config software package and SHA256 checksum by referring to Software and very the software package integrity (for details, seeHow Do I Verify Software Package Integrity?).

    Decompress the package to the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts\ directory.

    The value of bsdtar_path in the bms-network-config.conf file is C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe by default. If Cloudbase-Init is installed in a non-default directory, set this parameter to the directory where bsdtar.exe is actually stored.

  2. Use a text editor (such as Notepad) to open the Cloudbase-Init configuration file in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf directory and check the path specified by local_scripts_path. Cloudbase-Init will execute the scripts from this path.

  3. Copy bms-network-config.py to the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts directory based on the value of parameter local_scripts_path in the Cloudbase-Init configuration file.

    The default path of Cloudbase-Init is recommended. If you store the script file in another directory, change the value of parameter local_scripts_path in the Cloudbase-Init configuration file.