Skip to content

Commit

Permalink
fix based on suggestions from Kern
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Coulter <[email protected]>
  • Loading branch information
defhacks committed Apr 22, 2022
1 parent d5dd239 commit 21c0c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type options struct {
FcBinary string `long:"firecracker-binary" description:"Path to firecracker binary"`
FcKernelImage string `long:"kernel" description:"Path to the kernel image" default:"./vmlinux"`
FcKernelCmdLine string `long:"kernel-opts" description:"Kernel commandline" default:"ro console=ttyS0 noapic reboot=k panic=1 pci=off nomodules"`
FcInitrdPath string `long:"initrd-path" description:"path to initrd" default:"./initramfs"`
FcInitrd string `long:"initrd-path" description:"Path to initrd"`
FcRootDrivePath string `long:"root-drive" description:"Path to root disk image"`
FcRootPartUUID string `long:"root-partition" description:"Root partition UUID"`
FcAdditionalDrives []string `long:"add-drive" description:"Path to additional drive, suffixed with :ro or :rw, can be specified multiple times"`
Expand Down Expand Up @@ -147,7 +147,7 @@ func (opts *options) getFirecrackerConfig() (firecracker.Config, error) {
FifoLogWriter: fifo,
KernelImagePath: opts.FcKernelImage,
KernelArgs: opts.FcKernelCmdLine,
InitrdPath: opts.FcInitrdPath,
InitrdPath: opts.FcInitrd,
Drives: blockDevices,
NetworkInterfaces: NICs,
VsockDevices: vsocks,
Expand Down

0 comments on commit 21c0c5e

Please sign in to comment.