mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
9 lines
235 B
Ruby
9 lines
235 B
Ruby
class BaseManager
|
|
def self.generate_base(system,bases)
|
|
# takes a sample from bases.xml and then assigns it to system
|
|
box = bases.sample
|
|
system.basebox = box.vagrantbase
|
|
system.url = box.url
|
|
return system
|
|
end
|
|
end |