mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 08:35:00 +00:00
pveceph install: run apt-get interactive
It is sometime necessary to answer questions.
This commit is contained in:
parent
ccc7ad4b47
commit
17325396e3
@ -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;
|
||||
}});
|
||||
|
Loading…
Reference in New Issue
Block a user