Uses a new release (0.2.x)

Just fixing the iso url since the old-one returns a 404
This commit is contained in:
Jonas Pfenniger 2013-02-04 16:56:42 +00:00
parent ada1dd42ff
commit 048c1789a6

View file

@ -1,6 +1,6 @@
iso = { iso = {
:file => 'nixos-minimal-0.1pre4019_3582393-45635e9-i686-linux.iso', :file => 'nixos-minimal-0.2pre4454_979117b-789154b-i686-linux.iso',
:md5 => '603bdbf453c47d1592ade77a0fcb7a40', :md5 => '0f3a1a5a531b01819ec17a0feeea11e6',
} }
session = { session = {
@ -19,7 +19,7 @@ session = {
'mkdir -p /mnt/etc/nixos &&', '<Enter>', 'mkdir -p /mnt/etc/nixos &&', '<Enter>',
'mv configuration.nix /mnt/etc/nixos &&', '<Enter>', 'mv configuration.nix /mnt/etc/nixos &&', '<Enter>',
'nixos-install &&', '<Enter>', 'nixos-install &&', '<Enter>',
'reboot', '<Enter>' 'reboot', '<Enter>',
], ],
:boot_wait => '5', :boot_wait => '5',
:cpu_count => '1', :cpu_count => '1',
@ -29,7 +29,7 @@ session = {
:iso_download_timeout => '1000', :iso_download_timeout => '1000',
:iso_file => iso[:file], :iso_file => iso[:file],
:iso_md5 => iso[:md5], :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_file => 'configuration.nix',
:kickstart_port => '7122', :kickstart_port => '7122',
:kickstart_timeout => '10000', :kickstart_timeout => '10000',