From 048c1789a655b9317496cceb335f0aabd7a2a625 Mon Sep 17 00:00:00 2001 From: Jonas Pfenniger Date: Mon, 4 Feb 2013 16:56:42 +0000 Subject: [PATCH] Uses a new release (0.2.x) Just fixing the iso url since the old-one returns a 404 --- definitions/nixos32/definition.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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',