|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
# Harvester
|
|
|
# https://harvesterhci.io/
|
|
|
-# https://docs.harvesterhci.io/v0.2/install/pxe-boot-install/
|
|
|
+# https://docs.harvesterhci.io/v0.3/install/pxe-boot-install/
|
|
|
|
|
|
goto ${menu} ||
|
|
|
|
|
@@ -52,14 +52,14 @@ goto harvester
|
|
|
|
|
|
:harvester_boot
|
|
|
isset ${harvester_base_url} || set harvester_base_url ${harvester_mirror}/${harvester_version}
|
|
|
-set install_params k3os.mode=install harvester.install.automatic=true harvester.install.config_url=${harvester_config_url}
|
|
|
-set boot_params console=ttyS0 console=tty1
|
|
|
+set install_params harvester.install.automatic=true harvester.install.config_url=${harvester_config_url}
|
|
|
+set boot_params ip=dhcp console=ttyS0 console=tty1 rd.cos.disable root=live:${harvester_base_url}/harvester-${harvester_version}-rootfs-${os_arch}.squashfs
|
|
|
imgfree
|
|
|
-kernel ${harvester_base_url}/harvester-vmlinuz-${os_arch} ${install_params} ${boot_params} {{ kernel_params }}
|
|
|
-initrd ${harvester_base_url}/harvester-initrd-${os_arch}
|
|
|
+kernel ${harvester_base_url}/harvester-${harvester_version}-vmlinuz-${os_arch} ${install_params} ${boot_params} {{ kernel_params }}
|
|
|
+initrd ${harvester_base_url}/harvester-${harvester_version}-initrd-${os_arch}
|
|
|
echo
|
|
|
echo MD5sums:
|
|
|
-md5sum harvester-vmlinuz-${os_arch} harvester-initrd-${os_arch}
|
|
|
+md5sum harvester-${harvester_version}-vmlinuz-${os_arch} harvester-${harvester_version}-initrd-${os_arch}
|
|
|
boot
|
|
|
|
|
|
:harvester_exit
|