From f5577e792108b4f0eca7c26b439efff423c64388 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 1 Dec 2014 09:12:29 -0500 Subject: [PATCH] fix bug 4441 xcat genimage won't install os upgrade, add the "http" started otherpkgdir into apt.list file --- xCAT-server/share/xcat/netboot/ubuntu/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index 3e490c6ce..4f7c1b7be 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -381,7 +381,7 @@ unless ($onlyinitrd) { my %extrapkgnames; if (keys(%extra_hash) > 0) { - open ($aptconfig,">","$rootimg_dir/etc/apt/sources.list.d/genimage.apt.list"); + open ($aptconfig,">>","$rootimg_dir/etc/apt/sources.list.d/genimage.apt.list"); my $index=1; foreach $pass (sort {$a <=> $b} (keys(%extra_hash))) { foreach (keys(%{$extra_hash{$pass}})) {