Преглед на файлове

LCOWv1:Remote lcow.kernel and lcow.initrd

Signed-off-by: John Howard <jhoward@microsoft.com>

LCOWv1 will be deprecated soon anyway (and LCOW is experimental regardless).
Removing lcow.initrd and lcow.kernel options which will not be supported
in LCOWv2 (via containerd).
John Howard преди 6 години
родител
ревизия
19a938f6bc
променени са 2 файла, в които са добавени 0 реда и са изтрити 12 реда
  1. 0 8
      daemon/graphdriver/lcow/lcow.go
  2. 0 4
      daemon/start_windows.go

+ 0 - 8
daemon/graphdriver/lcow/lcow.go

@@ -31,14 +31,6 @@
 //        -- Possible values:      Any local path that is not a mapped drive
 //        -- Default if omitted:  %ProgramFiles%\Linux Containers
 //
-//   * lcow.kernel - Specifies a custom kernel file located in the `lcow.kirdpath` path
-//        -- Possible values:      Any valid filename
-//        -- Default if omitted:  bootx64.efi
-//
-//   * lcow.initrd - Specifies a custom initrd file located in the `lcow.kirdpath` path
-//        -- Possible values:      Any valid filename
-//        -- Default if omitted:  initrd.img
-//
 //   * lcow.bootparameters - Specifies additional boot parameters for booting in kernel+initrd mode
 //        -- Possible values:      Any valid linux kernel boot options
 //        -- Default if omitted:  <nil>

+ 0 - 4
daemon/start_windows.go

@@ -29,10 +29,6 @@ func (daemon *Daemon) getLibcontainerdCreateOptions(container *container.Contain
 			switch k {
 			case "lcow.kirdpath":
 				config.KirdPath = v
-			case "lcow.kernel":
-				config.KernelFile = v
-			case "lcow.initrd":
-				config.InitrdFile = v
 			case "lcow.bootparameters":
 				config.BootParameters = v
 			}