
On Fri, Mar 05, 2021 at 04:59:52PM +0800, Yu Chuan wrote:
[Why] Firstboot stage: the first boot after iso installation is complete. At this stage, the system will run some initial configurations.
So we need copy out the rootfs in second boot stage, and do nothing in firstboot stage.
Signed-off-by: Yu Chuan <13186087857@163.com> --- jobs/install-iso-firstboot.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 jobs/install-iso-firstboot.yaml
diff --git a/jobs/install-iso-firstboot.yaml b/jobs/install-iso-firstboot.yaml new file mode 100644 index 000000000000..ccec24c1c162 --- /dev/null +++ b/jobs/install-iso-firstboot.yaml @@ -0,0 +1,3 @@ +suite: install-iso-firstboot + +sleep: 1
looks firstboot should boot from local disk, so you may need add the follows: # os_mount must be equal to 'local' os_mount: local # kernel_custom_params must have 'boot_lv_suffix' and 'src_lv_suffix', # and they must be the same. so can boot from the specify logical volume kernel_custom_params: -------- Thanks, Xijian
-- 2.23.0