This software ensures that Cloudbase-Init can start properly.
Instructions
Installing Cloudbase-Init
1. On the desktop, double-click the Cloudbase-Init installation package.
2. In the dialog box, click Run to enter the Cloudbase-Init setup wizard, as shown below:
3. Click Next.
4. Select I accept the terms in the License Agreement and click Next twice.
5. In the Configuration options window, set Serial port for logging to COM1, check "Run Cloudbase-Init service as LocalSystem," and click Next. As shown below:
6. Click Install to install Cloudbase-Init.
7. After Cloudbase-Init installation is complete, click Finish to close the setup wizard, as shown below:
Note
When closing the Cloudbase-Init installation interface, do not select any checkboxes and avoid running Sysprep.
Modifying the Cloudbase-Init configuration file
1. Open the cloudbase-init.conf configuration file.
The default path for the cloudbase-init.conf configuration file is: C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf
2. Replace the content of the cloudbase-init.conf configuration file with the following:
3. Copy the TencentCloudRun.ps1 script to the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts directory.
4. Right-click the TencentCloudRun.ps1 script, select Properties, and check if the script has executable permissions in the pop-up window, as shown below:
If the Unblock option is present, select it and click OK to exit.
If the Unblock option is not present, skip this step.
5. Replace the localscripts.py file in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common directory with the localscripts.py file from the Required Software section.