BEGIN {
$Dist::Zilla::App::Command::provision::VERSION = '0.1';
}
-# ABSTRACT: release your dist to the CPAN
+# ABSTRACT: provision a new Oyster VM
use Dist::Zilla::App -command;
use Moose;
use Config::Any;
$hash{size} ||= 1; # id 1 - ram 256 MiB - disk 10 GiB
$hash{image} ||= 69; # id 69 - Ubuntu 10.10 (meerkat)
- warn Dumper(\%hash); use Data::Dumper;
+ use Data::Dumper; warn "Config hash: ", Dumper(\%hash);
my $server = Oyster::Provision->new(
name => $name,
+ config => \%hash,
%hash,
);
$server->create;