doc-exports/docs/bms/image-creation-guide/en-us_topic_0108489937.html
guoyanyan fe8c0cf45c BMS Image Creation Guide 1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-11-16 08:53:42 +00:00

5.2 KiB

Windows Server 1709

  1. Download bms-network_config.rar of the required version as instructed in Software.

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

    1. Enter D:.
    2. Run the xcopy bms-network-config.conf "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts"\ command.

      You can press Tab to complete the command.

    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. For details, see 1.

    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.