Issue install 20.04 with autoinstall
Tom H
tomh0665 at gmail.com
Mon Jan 25 13:57:46 UTC 2021
On Sun, Jan 24, 2021 at 9:31 PM Jerry Geis <jerry.geis at gmail.com>
wrote:
>
> I have "not" been able to get a "storage" that works. This was the
> last one I tried :
> storage:
> layout:
> name: direct
> config:
> - type: disk
> id: disk0
> match:
> size: largest
> - type: partition
> id: boot-partition
> device: disk0
> size: 512M
> - type: partition
> id: root-partition
> device: disk0
> size: -1
>
> This also gives the same error: about the grub_device.
> I tried adding "grub_device: false" after the type: disk, same
> error. I tried adding after device: disk0 same error.
I'e just tried this and it works for me. Does it work for you?
#cloud-config
autoinstall:
...
storage:
version: 1
layout:
name: direct
grub:
install_devices:
- disk0
swap:
size: 0
config:
- id: disk0
type: disk
match:
size: largest
ptable: mbr
wipe: superblock
- id: disk0-boot
type: partition
device: disk0
size: 512MB
- id: disk0-root
type: partition
device: disk0
size: -1
- id: disk0-boot-fs
type: format
volume: disk0-boot
fstype: ext4
- id: disk0-root-fs
type: format
volume: disk0-root
fstype: ext4
- id: disk0-boot-mount
type: mount
device: disk0-boot-fs
path: "/boot"
- id: disk0-root-mount
type: mount
device: disk0-root-fs
path: "/"
...
More information about the ubuntu-users
mailing list