mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 21:55:44 +00:00
pveceph install: output warnings from apt update, they're relevant
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f3a469836a
commit
87166f36ad
@ -94,8 +94,6 @@ __PACKAGE__->register_method ({
|
|||||||
|
|
||||||
my $cephver = $param->{version} || 'luminous';
|
my $cephver = $param->{version} || 'luminous';
|
||||||
|
|
||||||
local $ENV{DEBIAN_FRONTEND} = 'noninteractive';
|
|
||||||
|
|
||||||
if ($cephver eq 'luminous') {
|
if ($cephver eq 'luminous') {
|
||||||
PVE::Tools::file_set_contents("/etc/apt/sources.list.d/ceph.list",
|
PVE::Tools::file_set_contents("/etc/apt/sources.list.d/ceph.list",
|
||||||
"deb http://download.proxmox.com/debian/ceph-luminous stretch main\n");
|
"deb http://download.proxmox.com/debian/ceph-luminous stretch main\n");
|
||||||
@ -103,8 +101,9 @@ __PACKAGE__->register_method ({
|
|||||||
die "not implemented ceph version: $cephver";
|
die "not implemented ceph version: $cephver";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local $ENV{DEBIAN_FRONTEND} = 'noninteractive';
|
||||||
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 { print STDERR "$_[0]\n" }) };
|
||||||
|
|
||||||
my @apt_install = qw(apt-get --no-install-recommends -o Dpkg::Options::=--force-confnew install --);
|
my @apt_install = qw(apt-get --no-install-recommends -o Dpkg::Options::=--force-confnew install --);
|
||||||
my @ceph_packages = qw(
|
my @ceph_packages = qw(
|
||||||
|
Loading…
Reference in New Issue
Block a user