Skip to content

Latest commit

 

History

History
executable file
·
44 lines (30 loc) · 1.86 KB

README.md

File metadata and controls

executable file
·
44 lines (30 loc) · 1.86 KB

Bluemix Cloudbase-init Metadata Service

Bluemix metadata service for Cloudbase-init and Windows operating systems.

IBM Cloud documentation: Provisioning with a cloud-init enabled image

IBM Cloud - Classic Infrastructure Support

Cloudbase-init and this plugin should be installed by default on the base Windows images offered by for Classic Infrastructure virtual servers. To make use of it, simply attach your config as User Data when ordering.

When ordering in the portal, this will be under the Operating System Add-ons section

For ordering with the SLCLI

$ cat test_userdata.txt
#cloud-config
write_files:
   encoding: b64
   content: NDI=
   path: C:\test
   permissions: '0o466'

$ slcli vs create --flavor B1_2X4X100 -H cloudbase01 -D ibm.com -d dal13 -o WIN_2019-STD_64 -F ./test_userdata.txt  --ipv6

IBM Cloud - Virtual Private Cloud Support

For Virtual Private Cloud, the ConfigDriveService is used for configuring hosts. See the VPC Documentation for more information.

Custom Setup

Install

Install the latest stable release as a python package using Windows PowerShell

& 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\python.exe' -m pip install https://github.com/softlayer/bluemix-cloudbase-init/archive/master.zip

Usage

Update the metadata_services config value in Cloudbase-init's cloudbase-init-unattend.conf and cloudbase-init.conf to use the Bluemix metadata service

metadata_services=bluemix.bluemixservice.BluemixService,