stages/dracut: disable hostonly mode and default to reproducible images
Disable host-only mode when running dracut and generate reproducible images by default. Suggested-by: gicmo Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
8d43a78918
commit
1c3aadba20
1 changed files with 2 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def main(tree, options):
|
|||
include = options.get("include", [])
|
||||
install = options.get("install", [])
|
||||
early_microcode = options.get("early_microcode", False)
|
||||
reproducible = options.get("reproducible")
|
||||
reproducible = options.get("reproducible", True)
|
||||
extra = options.get("extra", [])
|
||||
|
||||
# initrds may have already been created, force the recreation
|
||||
|
|
@ -195,6 +195,7 @@ def main(tree, options):
|
|||
|
||||
subprocess.run(["/usr/sbin/chroot", tree,
|
||||
"/usr/bin/dracut",
|
||||
"--no-hostonly",
|
||||
"--kver", kver]
|
||||
+ opts,
|
||||
check=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue