Change size of Amazon EC2 S3-backed images to 8GB (was 4GB).
(cherry picked from commit 05543ef6e038a834aa323d467c9ef02ad99c5adb)
This commit is contained in:
parent
fe3a63b7d0
commit
04e648f789
@ -26,7 +26,7 @@ in
|
|||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
diskImage=$out/nixos.img
|
diskImage=$out/nixos.img
|
||||||
${pkgs.vmTools.qemu}/bin/qemu-img create -f raw $diskImage "4G"
|
${pkgs.vmTools.qemu}/bin/qemu-img create -f raw $diskImage "8G"
|
||||||
mv closure xchg/
|
mv closure xchg/
|
||||||
'';
|
'';
|
||||||
buildInputs = [ pkgs.utillinux pkgs.perl ];
|
buildInputs = [ pkgs.utillinux pkgs.perl ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user