29 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
openeuler-ci-bot
bf808b73f5
!43 KubeOS:update to 1.0.2-8
From: @li-yuanrong 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2023-02-07 08:58:58 +00: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
openeuler-ci-bot
266d498254
!42 【轻量级 PR】:add yaml
From: @li-yuanrong 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-12-09 08:20:29 +00:00
liyuanr
1c19e4d06a
add yaml
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-12-09 08:02:40 +00:00
openeuler-ci-bot
52b4476a4e !21 KubeOS:add arm architecture support to the OS image
Merge pull request !21 from liyuanr/master
2021-12-18 03:27:17 +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
openeuler-ci-bot
a6ae3b2849 !18 change generate argument from isopath to repopath
Merge pull request !18 from linxiaoxu131415/master
2021-12-13 07:02:27 +00:00
linxiaoxu
34799ba674 change generate argument from isopath to repopath 2021-12-08 06:39:23 +00:00
openeuler-ci-bot
0c49429ead !16 KubeOS:fix bugs of checks in generate.sh and change module path
From: @li-yuanrong
Reviewed-by: @snoweay,@duguhaotian
Signed-off-by: @duguhaotian
2021-11-16 02:17:14 +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
openeuler-ci-bot
7aef9d3345 !13 update compressed package
From: @li-yuanrong
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2021-10-30 09:51:31 +00:00
liyuanr
e3b47f8db3 update compressed package
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-10-30 09:29:21 +00:00
openeuler-ci-bot
e0b505cab9 !9 update version to v1.0.1
From: @linxiaoxu131415
Reviewed-by: @caihaomin
Signed-off-by: @caihaomin
2021-10-29 07:04:07 +00:00
linxiaoxu
75f919d393 update version to v1.0.1 2021-10-29 06:34:04 +00:00
openeuler-ci-bot
c1c94707f5 !7 change generate argument check range
From: @linxiaoxu131415
Reviewed-by: @jianminw
Signed-off-by: @jianminw
2021-10-20 04:17:44 +00:00
linxiaoxu
5e5934d89e change generate argument check range 2021-10-19 22:43:55 +08:00
openeuler-ci-bot
bffaac24a2 !6 add spec and tar to v1.0.0 version
From: @li-yuanrong
Reviewed-by: @caihaomin
Signed-off-by: @caihaomin
2021-10-09 01:59:14 +00: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
openeuler-ci-bot
c0aff5515e Initial commit 2021-09-30 09:17:16 +00:00