Merge pull request #1955 from ogayot/grub2-wa-drop

Revert grub2 workaround for cloud_style_installation
This commit is contained in:
Olivier Gayot 2024-03-27 14:35:14 +01:00 committed by GitHub
commit eca86c58da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -161,12 +161,6 @@ class DebconfSelectionsModel:
return {} return {}
def get_apt_config(self, final: bool, has_network: bool) -> Dict[str, Any]: def get_apt_config(self, final: bool, has_network: bool) -> Dict[str, Any]:
# Workaround for LP: #2055294
# TODO remove when the bug is fixed
if not self.selections:
grub2_selection = "grub-pc grub-efi/cloud_style_installation boolean false"
return {"debconf_selections": {"subiquity": grub2_selection}}
return {"debconf_selections": {"subiquity": self.selections}} return {"debconf_selections": {"subiquity": self.selections}}