mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
azure-image: azure resource manager doesn't base64-encode custom data, unlike azure service manager
This commit is contained in:
parent
01130e502a
commit
ada9b3b666
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user