mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 10:28:14 +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";
|
print "update available package list\n";
|
||||||
eval { run_command(['apt-get', '-q', 'update'], outfunc => sub {}, errfunc => sub {}); };
|
eval { run_command(['apt-get', '-q', 'update'], outfunc => sub {}, errfunc => sub {}); };
|
||||||
|
|
||||||
run_command(['apt-get', '-q', '--assume-yes', '--no-install-recommends',
|
system('apt-get', '--no-install-recommends',
|
||||||
'-o', 'Dpkg::Options::=--force-confnew',
|
'-o', 'Dpkg::Options::=--force-confnew',
|
||||||
'install', '--',
|
'install', '--',
|
||||||
'ceph', 'ceph-common', 'gdisk']);
|
'ceph', 'ceph-common', 'gdisk');
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}});
|
}});
|
||||||
|
Loading…
Reference in New Issue
Block a user