forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (42 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
# This is the vmware-k8s-1.25 variant. "." is not allowed in crate names, but
# we don't use this crate name anywhere.
name = "vmware-k8s-1_25"
version = "0.1.0"
edition = "2021"
publish = false
build = "../build.rs"
# Don't rebuild crate just because of changes to README.
exclude = ["README.md"]
[package.metadata.build-variant.image-layout]
partition-plan = "unified"
[package.metadata.build-variant.image-features]
grub-set-private-var = true
[package.metadata.build-variant]
image-format = "vmdk"
supported-arches = ["x86_64"]
kernel-parameters = [
"console=tty1",
# Only reserve if there are at least 2GB
"crashkernel=2G-:256M",
"net.ifnames=0",
"netdog.default-interface=eth0:dhcp4,dhcp6?",
"quiet",
]
included-packages = [
"cni",
"cni-plugins",
"kernel-5.15",
"kubelet-1.25",
"open-vm-tools",
"release",
]
[lib]
path = "../variants.rs"
[build-dependencies]
cni = { path = "../../packages/cni" }
cni-plugins = { path = "../../packages/cni-plugins" }
kernel-5_15 = { path = "../../packages/kernel-5.15" }
kubernetes-1_25 = { path = "../../packages/kubernetes-1.25" }
open-vm-tools = { path = "../../packages/open-vm-tools" }
release = { path = "../../packages/release" }