weizhouapache commented on PR #8791: URL: https://github.com/apache/cloudstack/pull/8791#issuecomment-1997710164
> @weizhouapache we could - do you mean that users would need to specify if its encoded or not? If so, wouldn't it be user friendly if we have the code decide if it's encoded or not and accordingly proceed ? @Pearl1594 let me explain with an example cloud-init supports userdata compressed by gzip. I use the same userdata as #8739 ``` $ echo "Apache CloudStack" |gzip |base64 -w0 H4sIAAAAAAAAA3MsSEzOSFVwzskvTQkuSUzO5gIAxXcOkxIAAAA= ``` when I register userdata with userdata `H4sIAAAAAAAAA3MsSEzOSFVwzskvTQkuSUzO5gIAxXcOkxIAAAA=`, I expect the the same value is saved in database. but the actual userdata in database is `SDRzSUFBQUFBQUFBQTNNc1NFek9TRlZ3enNrdlRRa3VTVXpPNWdJQXhYY09reElBQUFBPQ==`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org