pveceph install: run apt-get interactive

It is sometime necessary to answer questions.
This commit is contained in:
Dietmar Maurer 2016-06-09 10:01:58 +02:00
parent ccc7ad4b47
commit 17325396e3

View File

@ -126,10 +126,10 @@ __PACKAGE__->register_method ({
print "update available package list\n";
eval { run_command(['apt-get', '-q', 'update'], outfunc => sub {}, errfunc => sub {}); };
run_command(['apt-get', '-q', '--assume-yes', '--no-install-recommends',
'-o', 'Dpkg::Options::=--force-confnew',
'install', '--',
'ceph', 'ceph-common', 'gdisk']);
system('apt-get', '--no-install-recommends',
'-o', 'Dpkg::Options::=--force-confnew',
'install', '--',
'ceph', 'ceph-common', 'gdisk');
return undef;
}});