azure-image: azure resource manager doesn't base64-encode custom data, unlike azure service manager

This commit is contained in:
Evgeny Egorochkin 2016-01-10 11:35:44 +02:00
parent 01130e502a
commit ada9b3b666

View File

@ -105,7 +105,7 @@ in
path = [ pkgs.coreutils ];
script =
''
eval "$(base64 --decode /metadata/CustomData.bin)"
eval "$(cat /metadata/CustomData.bin)"
if ! [ -z "$ssh_host_ecdsa_key" ]; then
echo "downloaded ssh_host_ecdsa_key"
echo "$ssh_host_ecdsa_key" > /etc/ssh/ssh_host_ed25519_key