• R/O
  • HTTP
  • SSH
  • HTTPS

image-creator: Commit

KVM host image creator.


Commit MetaInfo

Revision7988ec4d23e46aa7d5486ef5a955de134d268cdf (tree)
Zeit2019-09-24 20:29:29
AutorTatsuki Sugiura <sugi@nemu...>
CommiterTatsuki Sugiura

Log Message

Erace udev masking.

Ändern Zusammenfassung

Diff

--- a/create-image
+++ b/create-image
@@ -128,6 +128,8 @@ class ImageCreator
128128 system("mount", di.device, "#{dir}#{di.path}") or raise "Failed to mount #{di.device} to #{dir}#{path}"
129129 end
130130
131+ system "rm", "-f", "#{dir}/etc/systemd/system/udev.service", "#{dir}/etc/systemd/system/systemd-udevd.service"
132+
131133 puts "Rewrite fstab..."
132134 File.open "#{dir}/etc/fstab", "w" do |f|
133135 devices.map.with_index { |d, idx|
Show on old repository browser