KVM host image creator.Jessica Lockwood
リビジョン | 69cdbafad7bfa8ba4fe01f1f839cf1655b4a6ba5 (tree) |
---|---|
日時 | 2020-03-09 13:31:34 |
作者 | Tatsuki SUGIURA <sugi@osdn...> |
コミッター | Tatsuki SUGIURA |
Update jessie kernel URL.
@@ -145,7 +145,7 @@ class ImageCreator | ||
145 | 145 | # Note: 2019-10-08 時点で Debian9 のカーネルバージョンに対応していないので、エラー回避のために既存のカーネルを全て削除し、強制的に jessie のカーネルをイントールする |
146 | 146 | system("rm", "-f", "#{dir}/var/lib/dpkg/info/linux-image-#{`uname -r`.chomp}.prerm") |
147 | 147 | system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "remove", "--purge", "-y", "linux-image-*") |
148 | - system("wget", "-O", "#{dir}/tmp/linux.deb", "http://security.debian.org/debian-security/pool/updates/main/l/linux/linux-image-3.16.0-10-amd64_3.16.74-1_amd64.deb") or raise "Failed to get jessie kernel" | |
148 | + system("wget", "-O", "#{dir}/tmp/linux.deb", "http://security-cdn.debian.org/debian-security/pool/updates/main/l/linux/linux-image-3.16.0-10-amd64_3.16.81-1_amd64.deb") or raise "Failed to get jessie kernel" | |
149 | 149 | system("chroot", dir, "dpkg", "-i", "/tmp/linux.deb") |
150 | 150 | system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "install", "-f", "-y") or raise "Failed to install jessie kernel" |
151 | 151 | else |