projects
/
pve-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a0374
)
pheceph: add -version argument to install
author
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 24 Mar 2014 05:21:44 +0000
(06:21 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 24 Mar 2014 05:21:44 +0000
(06:21 +0100)
bin/pveceph
patch
|
blob
|
blame
|
history
diff --git
a/bin/pveceph
b/bin/pveceph
index d83c0c0756bf2a000d1c026a62885e9d8702be60..0def860be9d91a5f4cd4fd8a35a50231fd68e592 100755
(executable)
--- a/
bin/pveceph
+++ b/
bin/pveceph
@@
-80,13
+80,18
@@
__PACKAGE__->register_method ({
parameters => {
additionalProperties => 0,
properties => {
+ version => {
+ type => 'string',
+ enum => ['dumpling', 'emperor', 'firefly'],
+ optional => 1,
+ }
},
},
returns => { type => 'null' },
code => sub {
my ($param) = @_;
- my $cephver =
'emperor
';
+ my $cephver =
$param->{version} || 'dumpling
';
local $ENV{DEBIAN_FRONTEND} = 'noninteractive';