Merge pull request #1955 from ogayot/grub2-wa-drop
Revert grub2 workaround for cloud_style_installation
This commit is contained in:
commit
eca86c58da
|
@ -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}}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue