[Bug 1204190] Re: azure: use non-static instance-id
Ben Howard
ben.howard at canonical.com
Tue Jul 23 17:28:07 UTC 2013
The proper place to get the instance ID is from GoalState.1.xml.
cat GoalState.1.xml
<?xml version="1.0" encoding="utf-8"?>
<GoalState xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="goalstate10.xsd">
...
<Container>
<ContainerId>fb3c8d4d-5087-4878-9e71-472119b5750c</ContainerId>
<RoleInstanceList>
<RoleInstance>
<InstanceId>8391407e1edc4dd095dae486073ad2b2.utl-0723-ci4a</InstanceId>
<State>Started</State>
<Configuration>
...
</Configuration>
</RoleInstance>
</RoleInstanceList>
</Container>
The InstanceID value corresponds to the deployment ID.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1204190
Title:
azure: use non-static instance-id
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1204190/+subscriptions
More information about the Ubuntu-server-bugs
mailing list