Commit 7e8acd2
authored
Update GuestOS name after upgrading VCH (#8427)
* Update GuestOS name after upgrading VCH
VitrualMachineSpec struct contains this info. This fix update the
field when upgrading vch.
BTW, not only upgrade but also configure command doing this calling
link: Configure()->d.update()->reconfigVCH()->update vmSpec. But it
may change lots of code to distinguish upgrade and configure in this
calling link, so I update vmSpec in both commands.
Modify test case `Check Upgrade Version` to add checking of GuestOS name1 parent e2f1b28 commit 7e8acd2
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
389 | | - | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
787 | 791 | | |
788 | 792 | | |
789 | 793 | | |
| |||
0 commit comments