19 Commits

Author SHA1 Message Date
liyuanr
e8e207edd4 KubeOS:update to 1.0.3-1
Update KubeOS to 1.0.3-1

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-05-16 17:00:12 +08:00
liyuanr
89b1b50d38 KubeOS:fix usage does not print when an error occurs in the upgrade image creation
Fix the bug that the usage does not print
when the upgrade image has parameter errors

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:54:27 +08:00
liyuanr
64e9a50d08 KubeOS: remove grub2 legacy install, add error handling for opstype and add entry for unit test in Makefile
Remove grub2 install for legacy setup to fix failure of x86
vm images building. Add the error handling of the abnormal value
of the opstype. Add an entry for unit testing in Makefile.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:54:10 +08:00
liyuanr
dcbc7f8199 KubeOS:add the configuration of /etc/resolv.conf and change the VM disk to gpt.
Add the user-defined /etc/resolv.conf file and change the VM disk to gpt
to be the same as that on the physical machine.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:16 +08:00
liyuanr
5ab9a1e933 KubeOS:add the clearing of space before the upgrade and rectifying the rollback failure.
The pre-upgrade space clearance function is added to resolve the problem that the upgrade
fails due to residual resources when the upgrade is performed again after a power failure.
Fix the rollback failure when the upgrade fails due to the upgrade using different architectures.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:16 +08:00
liyuanr
f2f479e6d8 KubeOS: fixed the issue of VMs images and add check of Global.cfg.
Modify the docker image creation method to fix the problem that /etc/hosts is
empty in the VM created using the docker image and that the /sys directory is
mounted abnormally.
Add checks whether configuration in the Global.cfg file are empty and whether
the IP address is valid.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:16 +08:00
liyuanr
af64d79a43 KubeOS:fix the kbimg.sh exception and pxe installation problem.
Fixed the issue of abnormal usage printing of the kbimg.sh parameter,
no verification of the -b parameter, and environment clearance in
the concurrent scenario.
Fix the problem that disks and network adapters cannot be found
due to disk and network adapter verification during PXE installation.
Fix the problem that os-proxy does not transfer imagetype and dockerimage
to the os-agent.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:16 +08:00
liyuanr
8f0394154c KubeOS:update to 1.0.2-2
Update version to 1.0.2-2

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:15 +08:00
liyuanr
495b312308 KubeOS:update to 1.0.1-8
update version to 1.0.1-8 to stay in sync with 22.03-LTS

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2023-02-07 15:53:12 +08:00
liyuanr
1c19e4d06a
add yaml
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-12-09 08:02:40 +00:00
liyuanr
230b157db0 KubeOS:add arm architecture support to the OS image
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-12-17 11:13:59 +00:00
linxiaoxu
34799ba674 change generate argument from isopath to repopath 2021-12-08 06:39:23 +00:00
liyuanr
5753d7f7bf KubeOS:fix bugs of checks in generate.sh and change module path
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-11-11 07:07:16 +00:00
liyuanr
e3b47f8db3 update compressed package
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-10-30 09:29:21 +00:00
linxiaoxu
75f919d393 update version to v1.0.1 2021-10-29 06:34:04 +00:00
linxiaoxu
5e5934d89e change generate argument check range 2021-10-19 22:43:55 +08:00
liyuanr
57edfb1142 update spec
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-10-08 16:01:08 +08:00
liyuanr
9b5f9780a1 add Arch to Spec
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-10-08 15:41:49 +08:00
liyuanr
e0bdb89040 add spec and tar to v1.0.0 version
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-09-30 19:43:09 +08:00