我正在尝试使用像这样的自动安装配置文件安装 20.04 :
用户数据文件:
version: 1
identity:
hostname: hostname
username: username
password: $crypted_pass
但是自动安装过程(将所有内容保留为默认值)不会对磁盘进行分区以使用所有空间,即使当我手动运行安装程序时这似乎是默认设置。
手动选择所有默认值后,我storage
从/var/log/installer/autoinstall-user-data
storage:
config:
- {ptable: gpt, serial: INTEL SSDPEKKF256G8L_BTHH85121P8H256B, wwn: eui.5cd2e42c81a42d1d,
path: /dev/nvme0n1, wipe: superblock-recursive, preserve: false, name: '', grub_device: true,
type: disk, id: disk-nvme0n1}
- {device: disk-nvme0n1, size: 1048576, flag: bios_grub, number: 1, preserve: false,
type: partition, id: partition-0}
- {device: disk-nvme0n1, size: 256057016320, wipe: superblock, flag: '', number: 2,
preserve: false, type: partition, id: partition-1}
- {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-0}
- {device: format-0, path: /, type: mount, id: mount-0}
但是,我不清楚从这里我需要在我的用户数据文件中包含什么才能选择“填充磁盘”选项?