google-compute-image: append .raw.tar.gz suffix

This restores behavior of image generation before f1708a9d7d
This commit is contained in:
Jörg Thalheim 2017-04-25 08:02:35 +02:00
parent 761af14778
commit 9d3c118320
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -16,7 +16,7 @@ in
PATH=$PATH:${pkgs.stdenv.lib.makeBinPath [ pkgs.gnutar pkgs.gzip ]}
pushd $out
mv $diskImage disk.raw
tar -Szcf nixos-image-${config.system.nixosLabel}-${pkgs.stdenv.system}.tar.gz disk.raw
tar -Szcf nixos-image-${config.system.nixosLabel}-${pkgs.stdenv.system}.raw.tar.gz disk.raw
rm $out/disk.raw
popd
'';