apt: unify match-arm for ceph sources.list location
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ae3c04a76b
commit
767582a2eb
@ -150,13 +150,9 @@ impl APTRepositoryHandle {
|
|||||||
}
|
}
|
||||||
APTRepositoryHandle::NoSubscription => "/etc/apt/sources.list".to_string(),
|
APTRepositoryHandle::NoSubscription => "/etc/apt/sources.list".to_string(),
|
||||||
APTRepositoryHandle::Test => "/etc/apt/sources.list".to_string(),
|
APTRepositoryHandle::Test => "/etc/apt/sources.list".to_string(),
|
||||||
APTRepositoryHandle::CephQuincyEnterprise => {
|
APTRepositoryHandle::CephQuincyEnterprise
|
||||||
"/etc/apt/sources.list.d/ceph.list".to_string()
|
| APTRepositoryHandle::CephQuincyNoSubscription
|
||||||
}
|
| APTRepositoryHandle::CephQuincyTest => "/etc/apt/sources.list.d/ceph.list".to_string(),
|
||||||
APTRepositoryHandle::CephQuincyNoSubscription => {
|
|
||||||
"/etc/apt/sources.list.d/ceph.list".to_string()
|
|
||||||
}
|
|
||||||
APTRepositoryHandle::CephQuincyTest => "/etc/apt/sources.list.d/ceph.list".to_string(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user