• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

KVM host image creator.Jessica Lockwood


Commit MetaInfo

修訂aa893a55471adb0ca804981a3b8a9a03ec2a4ace (tree)
時間2019-10-21 12:16:56
作者Tatsuki SUGIURA <sugi@osdn...>
CommiterTatsuki SUGIURA

Log Message

Set DEBIAN_FRONTEND=noninteractive.

Change Summary

差異

--- 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..."