Windows 10 Hostname not set correctly
Hi,
I install latest stable build of Cloudbase for Windows x64 on Windows 10 Enterprise N edition. Syspreped it created an image.
Deployed the image and passed an init script.
The hostname is not getting set correctly. However, I do see that Cloud Init is starting on boot and getting the correct hostname from Metadata service.
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>hostname
DESKTOP-ROSFNJ5
The Cloud init log file get the correct metadata from 169.254.169.254
2015-08-01 12:09:44.036 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:48.599 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.configdrive.ConfigDriveService' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:49.006 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.osconfigdrive.windows.WindowsConfigDriveManager' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:49.209 1888 DEBUG cloudbaseinit.metadata.services.osconfigdrive.windows [-] Looking for Config Drive in VFAT filesystems get_config_drive_files C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\osconfigdrive\windows.py:162
2015-08-01 12:09:49.209 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:50.161 1888 WARNING cloudbaseinit.utils.windows.vfat [-] Could not retrieve label for VFAT drive path '\\\\.\\PHYSICALDRIVE0'
2015-08-01 12:09:50.161 1888 WARNING cloudbaseinit.utils.windows.vfat [-] mlabel failed with error "init :: sector size (190) not a small power of two\r\nCannot initialize '::'\r\nC:\\Program Files (x86)\\Cloudbase Solutions\\Cloudbase-Init\\bin\\mlabel: Cannot initialize drive\r\n"
2015-08-01 12:09:50.161 1888 DEBUG cloudbaseinit.metadata.services.osconfigdrive.windows [-] Looking for Config Drive in raw HDDs get_config_drive_files C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\osconfigdrive\windows.py:166
2015-08-01 12:09:50.177 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:50.177 1888 DEBUG cloudbaseinit.metadata.services.osconfigdrive.windows [-] Looking for Config Drive in cdrom drives get_config_drive_files C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\osconfigdrive\windows.py:171
2015-08-01 12:09:50.177 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:50.177 1888 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.httpservice.HttpService' load_class C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\utils\classloader.py:26
2015-08-01 12:09:50.272 1888 DEBUG cloudbaseinit.utils.classloader ...