16 lines
No EOL
378 B
Ruby
16 lines
No EOL
378 B
Ruby
require 'downloader'
|
|
require_relative 'data/resources/iso-images'
|
|
|
|
module VirtualMachine
|
|
def self.distro(name, arch, type = :install)
|
|
ISO_URLS[:debian][:arm64][:install]
|
|
end
|
|
|
|
def self.setup(options)
|
|
distro = options[:distro]
|
|
arch = :arm64
|
|
type = :install
|
|
url = distro(name, arch, type)
|
|
Downloader.get(url)
|
|
end
|
|
end |