On 02/07/13 20:44, Raphaël Badin wrote:
> I changed the DisableSSHPasswordAuthentication boolean into a string because the 'omitempty' parameter would remove the field altogether from the serialized XML when it's false. And we *have to* use 'omitempty' because, when the ConfigurationSet object will be of type NetworkConfiguration, we need that field to be omitted.
FWIW, this really is shouting that LinuxProvisioningConfiguration is not
the same as a generic ConfigurationSet at all ... which is why I did it
that way to start with.
On 02/07/13 20:44, Raphaël Badin wrote: ordAuthenticati on boolean into a string because the 'omitempty' parameter would remove the field altogether from the serialized XML when it's false. And we *have to* use 'omitempty' because, when the ConfigurationSet object will be of type NetworkConfigur ation, we need that field to be omitted.
> I changed the DisableSSHPassw
FWIW, this really is shouting that LinuxProvisioni ngConfiguration is not
the same as a generic ConfigurationSet at all ... which is why I did it
that way to start with.