"--make-initrd", "yes",
"--bootable", "no",
"--manifest-format", "",
+ *(["--locale", state.config.locale] if state.config.locale else []),
+ *(["--locale-messages", state.config.locale_messages] if state.config.locale_messages else []),
+ *(["--keymap", state.config.keymap] if state.config.keymap else []),
+ *(["--timezone", state.config.timezone] if state.config.timezone else []),
+ *(["--hostname", state.config.hostname] if state.config.hostname else []),
+ *(["--root-password", state.config.root_password] if state.config.root_password else []),
+ *(["--root-password-hashed", state.config.root_password_hashed] if state.config.root_password_hashed else []),
+ *(["--root-password-file", os.fspath(state.config.root_password_file)] if state.config.root_password_file else []),
*(["-f"] * state.args.force),
"build",
])