diff --git a/definitions/nixos32/definition.rb b/definitions/nixos32/definition.rb index 8187175..f2567b6 100644 --- a/definitions/nixos32/definition.rb +++ b/definitions/nixos32/definition.rb @@ -1,6 +1,6 @@ iso = { - :file => 'nixos-minimal-0.1pre4019_3582393-45635e9-i686-linux.iso', - :md5 => '603bdbf453c47d1592ade77a0fcb7a40', + :file => 'nixos-minimal-0.2pre4454_979117b-789154b-i686-linux.iso', + :md5 => '0f3a1a5a531b01819ec17a0feeea11e6', } session = { @@ -19,7 +19,7 @@ session = { 'mkdir -p /mnt/etc/nixos &&', '', 'mv configuration.nix /mnt/etc/nixos &&', '', 'nixos-install &&', '', - 'reboot', '' + 'reboot', '', ], :boot_wait => '5', :cpu_count => '1', @@ -29,7 +29,7 @@ session = { :iso_download_timeout => '1000', :iso_file => iso[:file], :iso_md5 => iso[:md5], - :iso_src => "http://nixos.org/releases/nixos/#{iso[:file]}", + :iso_src => "http://nixos.org/releases/nixos/#{iso[:file].gsub(/-[^-]+-linux.iso$/,'')}/#{iso[:file]}", :kickstart_file => 'configuration.nix', :kickstart_port => '7122', :kickstart_timeout => '10000',