reset-partition-only: true doesn't create a big enough reset partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Committed
|
Low
|
Chris Peterson |
Bug Description
In autoinstall, we can provide the following snippet to install the Reset Partition without installing the system:
autoinstall:
storage:
layout:
name: direct
reset-
reset-
This is supposed to cause Subiquity to create a reset partition that is 1.1x the size of the installation media, but the installation fails with:
ubuntu-server subiquity_
I've tracked this down to an autoinstall parsing error, where "reset-parition: true" is interpreting the boolean "True" value for a reset-partition of size 1:
subiquity.
The installation proceeds fine when specifying the reset-partition size e.g.:
autoinstall:
storage:
layout:
name: direct
reset-
reset-
Changed in subiquity: | |
status: | Triaged → In Progress |
tags: | added: foundations-todo |
Changed in subiquity: | |
importance: | Medium → Low |
description: | updated |
Changed in subiquity: | |
assignee: | nobody → Chris Peterson (cpete) |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
https:/ /github. com/canonical/ subiquity/ pull/1972