Skip to content

Commit e126404

Browse files
committedJan 21, 2022
Remove kernel.cmdline
Flintlock now defaults a standard required set, and this field has changed from 'cmdline: ""' to 'cmdline.additionalProperties: ""'.
1 parent 0819a55 commit e126404

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎example.json

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"memory_in_mb": 2048,
99
"kernel": {
1010
"image": "ghcr.io/weaveworks/flintlock-kernel:5.10.77",
11-
"cmdline": "console=ttyS0 reboot=k panic=1 pci=off i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd ds=nocloud-net;s=http://169.254.169.254/latest/",
1211
"filename": "boot/vmlinux",
1312
"add_network_config": true
1413
},

‎main.go

-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ func defaultMicroVM(name, namespace, sshPath string) (*types.MicroVMSpec, error)
353353
MemoryInMb: 2048,
354354
Kernel: &types.Kernel{
355355
Image: kernelImage,
356-
Cmdline: "console=ttyS0 reboot=k panic=1 pci=off i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd ds=nocloud-net;s=http://169.254.169.254/latest/",
357356
Filename: pointyString("boot/vmlinux"),
358357
AddNetworkConfig: true,
359358
},

0 commit comments

Comments
 (0)
Please sign in to comment.