creating raw images for QEMU

This commit is contained in:
Artur Gurgul 2025-08-11 14:18:59 +02:00
parent 3b9e0a1f33
commit 49cc960703
13 changed files with 164 additions and 17 deletions

6
lib/system/utils.rb Normal file
View file

@ -0,0 +1,6 @@
def sh(cmd)
out = `#{cmd} 2>/dev/null`.to_s.strip
out.empty? ? "" : out
rescue
""
end