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

Disable LVM devices file when running image installs #5325

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyanaconda/modules/storage/initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ def enable_installer_mode():

# We don't want image installs writing backups of the *image* metadata
# into the *host's* /etc/lvm. This can get real messy on build systems.
# Same applies to system.devices file that shouldn't be populated with
# PV names from the system that creates the image
if conf.target.is_image:
blivet_flags.lvm_metadata_backup = False
blivet_flags.lvm_devices_file = False

# Set the flags.
blivet_flags.auto_dev_updates = True
Expand Down