File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 9595 then socket
9696 else throw "Firecracker must be configured with an API socket (option microvm.socket)!"
9797 )
98- ] ++ lib . optional ( lib . versionAtLeast pkgs . firecracker . version "1.13.0" ) "--enable-pci" ) ;
98+ ]
99+ ++ lib . optional ( lib . versionAtLeast pkgs . firecracker . version "1.13.0" ) "--enable-pci" )
100+ ++ microvmConfig . firecracker . extraArgs ;
99101
100102 preStart = ''
101103 ${ preStart }
Original file line number Diff line number Diff line change 606606 description = "Type of IO engine to use for Firecracker drives (disks)." ;
607607 } ;
608608
609+ firecracker . extraArgs = mkOption {
610+ type = with types ; listOf str ;
611+ default = [ ] ;
612+ description = "Extra arguments to pass to firecracker." ;
613+ } ;
614+
609615 firecracker . extraConfig = mkOption {
610616 type = types . attrs ;
611617 default = { } ;
You can’t perform that action at this time.
0 commit comments