internal: mandate installation device for the simplified installer
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
26b96483a3
commit
5005ff6184
3 changed files with 7 additions and 2 deletions
|
|
@ -332,9 +332,8 @@ func (c *Customizations) GetFilesystemsMinSize() uint64 {
|
|||
}
|
||||
|
||||
func (c *Customizations) GetInstallationDevice() string {
|
||||
defaultDevice := "/dev/sda"
|
||||
if c == nil || c.InstallationDevice == "" {
|
||||
return defaultDevice
|
||||
return ""
|
||||
}
|
||||
return c.InstallationDevice
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue