drop the suggested support of urlencoded 'userdata' Property
base64 encoding should be enough for the likely use case of this Product Section property.
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<!-- hostname: the hostname to set -->
|
<!-- hostname: the hostname to set -->
|
||||||
<Property oe:key="hostname" oe:value="ubuntuhost"/>
|
<Property oe:key="hostname" oe:value="ubuntuhost"/>
|
||||||
<!--
|
<!--
|
||||||
The value for user-data can be either base64 encoded or url encoded.
|
The value for user-data is to be base64 encoded.
|
||||||
it will be decoded, and then processed normally as user-data.
|
it will be decoded, and then processed normally as user-data.
|
||||||
The following represents '#!/bin/sh\necho "hi world"'
|
The following represents '#!/bin/sh\necho "hi world"'
|
||||||
|
|
||||||
|
|||||||
@@ -39,10 +39,9 @@
|
|||||||
</Property>
|
</Property>
|
||||||
<Property ovf:key="user-data" ovf:type="string" ovf:userConfigurable="true" ovf:value="">
|
<Property ovf:key="user-data" ovf:type="string" ovf:userConfigurable="true" ovf:value="">
|
||||||
<Label>Encoded user-data</Label>
|
<Label>Encoded user-data</Label>
|
||||||
<Description>This value can be either base64 encoded or url encoded. It will be decoded, and then processed normally as user-data.</Description>
|
<Description>In order to fit into a xml attribute, this value is base64 encoded . It will be decoded, and then processed normally as user-data.</Description>
|
||||||
<!-- The following represents '#!/bin/sh\necho "hi world"'
|
<!-- The following represents '#!/bin/sh\necho "hi world"'
|
||||||
ovf:value="IyEvYmluL3NoDQplY2hvICJoaSB3b3JsZCI="
|
ovf:value="IyEvYmluL3NoDQplY2hvICJoaSB3b3JsZCI="
|
||||||
ovf:value="%23!%2Fbin%2Fsh%0Aecho%20%22hi%20world%22"/>
|
|
||||||
-->
|
-->
|
||||||
</Property>
|
</Property>
|
||||||
<Property ovf:key="password" ovf:type="string" ovf:userConfigurable="true" ovf:value="">
|
<Property ovf:key="password" ovf:type="string" ovf:userConfigurable="true" ovf:value="">
|
||||||
|
|||||||
Reference in New Issue
Block a user