mirror of https://github.com/kubernetes/kops.git
Recognize Debian 13
This commit is contained in:
parent
a758ae0e9f
commit
d38b89e0c5
|
@ -58,6 +58,8 @@ func FindDistribution(rootfs string) (Distribution, error) {
|
|||
return DistributionDebian11, nil
|
||||
case "debian-12":
|
||||
return DistributionDebian12, nil
|
||||
case "debian-13":
|
||||
return DistributionDebian13, nil
|
||||
case "fedora-41":
|
||||
return DistributionFedora41, nil
|
||||
case "ubuntu-20.04":
|
||||
|
|
|
@ -85,6 +85,10 @@ func TestFindDistribution(t *testing.T) {
|
|||
expected: DistributionDebian12,
|
||||
},
|
||||
{
|
||||
rootfs: "debian13",
|
||||
err: nil,
|
||||
expected: DistributionDebian13,
|
||||
}, {
|
||||
rootfs: "flatcar",
|
||||
err: nil,
|
||||
expected: DistributionFlatcar,
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
|
||||
NAME="Debian GNU/Linux"
|
||||
VERSION_ID="13"
|
||||
VERSION="13 (trixie)"
|
||||
VERSION_CODENAME=trixie
|
||||
DEBIAN_VERSION_FULL=13.0
|
||||
ID=debian
|
||||
HOME_URL="https://www.debian.org/"
|
||||
SUPPORT_URL="https://www.debian.org/support"
|
||||
BUG_REPORT_URL="https://bugs.debian.org/"
|
Loading…
Reference in New Issue