Download image if not exists on the system

This commit is contained in:
Artur Gurgul 2025-08-14 08:03:10 +02:00
parent 2840b6e221
commit f8d67e621b
3 changed files with 23 additions and 5 deletions

7
bin/vm
View file

@ -52,8 +52,8 @@ when :archive
options[:distro] = parameter
VirtualMachine.archive(options)
when :appy
puts "appy chnages from VM to the host os"
when :apply
puts "apply chnages from VM to the host os"
when :restore
options[:distro] = parameter
VirtualMachine.restore(options)
@ -61,6 +61,9 @@ when :restore
when :daemon
puts "setup a pprocess so i can attach to it"
# paramaters exatly as run/setup
when :execute
puts "vm execute debian --file example.sh --attach (block terminal till done otherwiese notifi when done)"
puts "if name not provided then use the last accessed"
when :status
puts "Print all images and status stopped/daemon(port)/running(port/)"
when :attach