KVM host image creator.
Revision | 7988ec4d23e46aa7d5486ef5a955de134d268cdf (tree) |
---|---|
Zeit | 2019-09-24 20:29:29 |
Autor | Tatsuki Sugiura <sugi@nemu...> |
Commiter | Tatsuki Sugiura |
Erace udev masking.
@@ -128,6 +128,8 @@ class ImageCreator | ||
128 | 128 | system("mount", di.device, "#{dir}#{di.path}") or raise "Failed to mount #{di.device} to #{dir}#{path}" |
129 | 129 | end |
130 | 130 | |
131 | + system "rm", "-f", "#{dir}/etc/systemd/system/udev.service", "#{dir}/etc/systemd/system/systemd-udevd.service" | |
132 | + | |
131 | 133 | puts "Rewrite fstab..." |
132 | 134 | File.open "#{dir}/etc/fstab", "w" do |f| |
133 | 135 | devices.map.with_index { |d, idx| |