Software | Download Link | Description |
CloudbaseInitSetup_X_X_XX_xXX.msi | Download the Cloudbase-Init installation package based on the operating system used. Stable version (recommended) Windows 64-bit operating system: Click here to download the installation package. Windows 32-bit operating system: Click here to download the installation package. Beta version | Used to install Cloudbase-Init |
TencentCloudRun.ps1 | Click here to download the installation package. | - |
localscripts.py | Click here to download the installation package. | Used to ensure that Cloudbase-Init starts properly |
cloudbase-init.conf
configuration file.
The cloudbase-init.conf
configuration file is saved in C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\conf
by default. cloudbase-init.conf
configuration file with the following:[DEFAULT]username=Administratorgroups=Administratorsinject_user_password=trueconfig_drive_raw_hhd=trueconfig_drive_cdrom=trueconfig_drive_vfat=truebsdtar_path=C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\bin\\bsdtar.exemtools_path=C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\bin\\san_policy=OnlineAllmetadata_services=cloudbaseinit.metadata.services.configdrive.ConfigDriveService,cloudbaseinit.metadata.services.ec2service.EC2Service#,cloudbaseinit.metadata.services.httpservice.HttpService#,cloudbaseinit.metadata.services.maasservice.MaaSHttpServicemetadata_base_url=http://169.254.0.23/ec2_metadata_base_url=http://169.254.0.23/retry_count=2retry_count_interval=5plugins=cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin,cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin,cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin,cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin,cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin,cloudbaseinit.plugins.common.userdata.UserDataPluginverbose=truedebug=truelogdir=C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\log\\logfile=cloudbase-init.logdefault_log_levels=comtypes=INFO,suds=INFO,iso8601=WARN,requests=WARN#logging_serial_port_settings=COM1,115200,N,8mtu_use_dhcp_config=truentp_use_dhcp_config=truefirst_logon_behaviour=nonetbios_host_name_compatibility=falseallow_reboot=trueactivate_windows=truekms_host="kms.tencentyun.com"local_scripts_path=C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\LocalScripts\\C:\\powershellPS C:\\Set-ExecutionPolicy Unrestrictedvolumes_to_extend=1,2
TencentCloudRun.ps1
script to C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\LocalScripts
.TencentCloudRun.ps1
script, select Properties, and check for its executable permission in the pop-up window, as shown below:
localscripts.py
in C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\Python\\Lib\\site-packages\\cloudbaseinit\\plugins\\common
with the localscripts.py
file in Required Software.
Was this page helpful?