Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxd-imagebuilder: Export root partition device uuid as variable (from Incus) #83

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

MusicDin
Copy link
Member

@MusicDin MusicDin commented Aug 6, 2024

The root partition may not be /dev/sda2, for example if set the boot disk as the
second disk, the root partition device name will be /dev/sdb2. It may be
/dev/vda2 if not using san disk. The fix figured out the root partition device
UUID and set the UUID as the root, the root partition device UUID keeps no
change.

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit f7bb5233dde7188ebbbe81c86c1d36bc7fb1d23f)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 6f0a96b3326258079c4319026a3d9fcc69a8a5e1)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
@MusicDin MusicDin changed the title lxd-imagebuilder: Export root partition device name as variable lxd-imagebuilder: Export root partition device name as variable (from Incus) Aug 6, 2024
@MusicDin MusicDin marked this pull request as ready for review August 6, 2024 09:37
@MusicDin MusicDin changed the title lxd-imagebuilder: Export root partition device name as variable (from Incus) lxd-imagebuilder: Export root partition device uuid as variable (from Incus) Aug 6, 2024
@tomponline tomponline merged commit e9997ea into canonical:main Aug 6, 2024
8 checks passed
@MusicDin MusicDin deleted the cp/root-partition branch August 6, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants