• R/O
  • HTTP
  • SSH
  • HTTPS

image-creator: Commit

KVM host image creator.


Commit MetaInfo

Révisionaa893a55471adb0ca804981a3b8a9a03ec2a4ace (tree)
l'heure2019-10-21 12:16:56
AuteurTatsuki SUGIURA <sugi@osdn...>
CommiterTatsuki SUGIURA

Message de Log

Set DEBIAN_FRONTEND=noninteractive.

Change Summary

Modification

--- a/create-image
+++ b/create-image
@@ -147,9 +147,9 @@ class ImageCreator
147147 system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "remove", "--purge", "-y", "linux-image-*")
148148 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"
149149 system("chroot", dir, "dpkg", "-i", "/tmp/linux.deb")
150- system("chroot", dir, "apt", "install", "-f", "-y") or raise "Failed to install jessie kernel"
150+ system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "install", "-f", "-y") or raise "Failed to install jessie kernel"
151151 else
152- system("chroot", dir, "apt-get", "-y", "install", "linux-image-amd64")
152+ system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt-get", "-y", "install", "linux-image-amd64")
153153 end
154154
155155 puts "Update grub..."
Afficher sur ancien navigateur de dépôt.