• R/O
  • HTTP
  • SSH
  • HTTPS

image-creator: Commit

KVM host image creator.


Commit MetaInfo

Révisionfbea085325051b3b6790b723e6496303f859e5c6 (tree)
l'heure2019-09-30 17:39:58
AuteurTatsuki Sugiura <sugi@nemu...>
CommiterTatsuki Sugiura

Message de Log

Fix grub install condition.

Change Summary

Modification

--- a/create-image
+++ b/create-image
@@ -144,7 +144,7 @@ class ImageCreator
144144 end
145145
146146 puts "Update grub..."
147- unless File.exists? "#{dir}/boot/grub/grub.cfg"
147+ unless File.exists? "#{dir}/usr/sbin/grub-mkconfig"
148148 system("chroot", dir, "apt-get", "-qy", "update") or raise "Failed to install grub-pc"
149149 system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt-get", "-y", "install", "grub-pc")
150150 end
Afficher sur ancien navigateur de dépôt.